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
data/spec/api/cells_api_spec.rb
DELETED
@@ -1,1145 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Web API Swagger specification
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.0-SNAPSHOT
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for AsposeCellsCloud::CellsApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'CellsApi' do
|
20
|
-
before do
|
21
|
-
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
|
22
|
-
$VERBOSE = nil
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
|
30
|
-
# unit tests for cells_delete_worksheet_columns
|
31
|
-
# Delete worksheet columns.
|
32
|
-
#
|
33
|
-
# @param name The workbook name.
|
34
|
-
# @param sheet_name The worksheet name.
|
35
|
-
# @param column_index The column index.
|
36
|
-
# @param columns The columns.
|
37
|
-
# @param update_reference The update reference.
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :folder The workbook folder.
|
40
|
-
# @option opts [String] :storage storage name.
|
41
|
-
# @return [ColumnsResponse]
|
42
|
-
describe 'cells_delete_worksheet_columns test' do
|
43
|
-
it "should work" do
|
44
|
-
name = $BOOK1
|
45
|
-
sheet_name = $SHEET1
|
46
|
-
column_index = 100
|
47
|
-
columns = 2
|
48
|
-
update_reference = true
|
49
|
-
folder = $TEMPFOLDER
|
50
|
-
storage = nil
|
51
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
52
|
-
expect(result.uploaded.size).to be > 0
|
53
|
-
result = @instance.cells_delete_worksheet_columns(name, sheet_name, column_index, columns, update_reference, { :folder=>folder})
|
54
|
-
expect(result.code).to eql(200)
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for cells_delete_worksheet_row
|
60
|
-
# Delete worksheet row.
|
61
|
-
#
|
62
|
-
# @param name The workbook name.
|
63
|
-
# @param sheet_name The worksheet bame.
|
64
|
-
# @param row_index The row index.
|
65
|
-
# @param [Hash] opts the optional parameters
|
66
|
-
# @option opts [String] :folder The document folder.
|
67
|
-
# @option opts [String] :storage storage name.
|
68
|
-
# @return [CellsCloudResponse]
|
69
|
-
describe 'cells_delete_worksheet_row test' do
|
70
|
-
it "should work" do
|
71
|
-
name = $BOOK1
|
72
|
-
sheet_name = $SHEET1
|
73
|
-
row_index = 100
|
74
|
-
folder = $TEMPFOLDER
|
75
|
-
storage = nil
|
76
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
77
|
-
expect(result.uploaded.size).to be > 0
|
78
|
-
result = @instance.cells_delete_worksheet_row(name, sheet_name, row_index, { :folder=>folder})
|
79
|
-
expect(result.code).to eql(200)
|
80
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# unit tests for cells_delete_worksheet_rows
|
85
|
-
# Delete several worksheet rows.
|
86
|
-
#
|
87
|
-
# @param name The workbook name.
|
88
|
-
# @param sheet_name The worksheet bame.
|
89
|
-
# @param startrow The begin row index to be operated.
|
90
|
-
# @param [Hash] opts the optional parameters
|
91
|
-
# @option opts [Integer] :total_rows Number of rows to be operated.
|
92
|
-
# @option opts [BOOLEAN] :update_reference Indicates if update references in other worksheets.
|
93
|
-
# @option opts [String] :folder The document folder.
|
94
|
-
# @option opts [String] :storage storage name.
|
95
|
-
# @return [CellsCloudResponse]
|
96
|
-
describe 'cells_delete_worksheet_rows test' do
|
97
|
-
it "should work" do
|
98
|
-
name = $BOOK1
|
99
|
-
sheet_name = $SHEET1
|
100
|
-
startrow = 1
|
101
|
-
total_rows = 1
|
102
|
-
update_reference = true
|
103
|
-
folder = $TEMPFOLDER
|
104
|
-
storage = nil
|
105
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
106
|
-
expect(result.uploaded.size).to be > 0
|
107
|
-
result = @instance.cells_delete_worksheet_rows(name, sheet_name, startrow, { :total_rows=>total_rows, :update_reference=>update_reference,:folder=>folder})
|
108
|
-
expect(result.code).to eql(200)
|
109
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
# unit tests for cells_get_worksheet_cell
|
114
|
-
# Read cell data by cell's name.
|
115
|
-
#
|
116
|
-
# @param name Document name.
|
117
|
-
# @param sheet_name Worksheet name.
|
118
|
-
# @param cell_or_method_name The cell's or method name. (Method name like firstcell, endcell etc.)
|
119
|
-
# @param [Hash] opts the optional parameters
|
120
|
-
# @option opts [String] :folder Document's folder.
|
121
|
-
# @option opts [String] :storage storage name.
|
122
|
-
# @return [Object]
|
123
|
-
describe 'cells_get_worksheet_cell test' do
|
124
|
-
it "should work" do
|
125
|
-
name = $BOOK1
|
126
|
-
sheet_name = $SHEET1
|
127
|
-
cell_or_method_name = 'firstcell'
|
128
|
-
folder = $TEMPFOLDER
|
129
|
-
storage = nil
|
130
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
131
|
-
expect(result.uploaded.size).to be > 0
|
132
|
-
result = @instance.cells_get_worksheet_cell(name, sheet_name, cell_or_method_name, { :folder=>folder})
|
133
|
-
print(result)
|
134
|
-
#expect(result.code).to eql(200)
|
135
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
|
-
# unit tests for cells_get_worksheet_cell_style
|
140
|
-
# Read cell's style info.
|
141
|
-
#
|
142
|
-
# @param name Document name.
|
143
|
-
# @param sheet_name Worksheet name.
|
144
|
-
# @param cell_name Cell's name.
|
145
|
-
# @param [Hash] opts the optional parameters
|
146
|
-
# @option opts [String] :folder Document's folder.
|
147
|
-
# @option opts [String] :storage storage name.
|
148
|
-
# @return [StyleResponse]
|
149
|
-
describe 'cells_get_worksheet_cell_style test' do
|
150
|
-
it "should work" do
|
151
|
-
name = $BOOK1
|
152
|
-
sheet_name = $SHEET1
|
153
|
-
cell_name = 'C1'
|
154
|
-
folder = $TEMPFOLDER
|
155
|
-
storage = nil
|
156
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
157
|
-
expect(result.uploaded.size).to be > 0
|
158
|
-
result = @instance.cells_get_worksheet_cell_style(name, sheet_name, cell_name, { :folder=>folder})
|
159
|
-
expect(result.code).to eql(200)
|
160
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
|
-
# unit tests for cells_get_worksheet_cells
|
165
|
-
# Get cells info.
|
166
|
-
#
|
167
|
-
# @param name Document name.
|
168
|
-
# @param sheet_name Worksheet name.
|
169
|
-
# @param [Hash] opts the optional parameters
|
170
|
-
# @option opts [Integer] :offest Begginig offset.
|
171
|
-
# @option opts [Integer] :count Maximum amount of cells in the response.
|
172
|
-
# @option opts [String] :folder Document's folder name.
|
173
|
-
# @option opts [String] :storage storage name.
|
174
|
-
# @return [CellsResponse]
|
175
|
-
describe 'cells_get_worksheet_cells test' do
|
176
|
-
it "should work" do
|
177
|
-
name = $BOOK1
|
178
|
-
sheet_name = $SHEET1
|
179
|
-
offest = 1
|
180
|
-
count = 3
|
181
|
-
folder = $TEMPFOLDER
|
182
|
-
storage = nil
|
183
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
184
|
-
expect(result.uploaded.size).to be > 0
|
185
|
-
result = @instance.cells_get_worksheet_cells(name, sheet_name, {:offest=>offest, :count=>count, :folder=>folder})
|
186
|
-
expect(result.code).to eql(200)
|
187
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
# unit tests for cells_get_worksheet_column
|
192
|
-
# Read worksheet column data by column's index.
|
193
|
-
#
|
194
|
-
# @param name The workbook name.
|
195
|
-
# @param sheet_name The worksheet name.
|
196
|
-
# @param column_index The column index.
|
197
|
-
# @param [Hash] opts the optional parameters
|
198
|
-
# @option opts [String] :folder The workbook folder.
|
199
|
-
# @option opts [String] :storage storage name.
|
200
|
-
# @return [ColumnResponse]
|
201
|
-
describe 'cells_get_worksheet_column test' do
|
202
|
-
it "should work" do
|
203
|
-
name = $BOOK1
|
204
|
-
sheet_name = $SHEET1
|
205
|
-
column_index = 100
|
206
|
-
folder = $TEMPFOLDER
|
207
|
-
storage = nil
|
208
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
209
|
-
expect(result.uploaded.size).to be > 0
|
210
|
-
result = @instance.cells_get_worksheet_column(name, sheet_name, column_index, { :folder=>folder})
|
211
|
-
expect(result.code).to eql(200)
|
212
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
# unit tests for cells_get_worksheet_columns
|
217
|
-
# Read worksheet columns info.
|
218
|
-
#
|
219
|
-
# @param name The workbook name.
|
220
|
-
# @param sheet_name The worksheet name.
|
221
|
-
# @param [Hash] opts the optional parameters
|
222
|
-
# @option opts [String] :folder The workdook folder.
|
223
|
-
# @option opts [String] :storage storage name.
|
224
|
-
# @return [ColumnsResponse]
|
225
|
-
describe 'cells_get_worksheet_columns test' do
|
226
|
-
it "should work" do
|
227
|
-
name = $BOOK1
|
228
|
-
sheet_name = $SHEET1
|
229
|
-
folder = $TEMPFOLDER
|
230
|
-
storage = nil
|
231
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
232
|
-
expect(result.uploaded.size).to be > 0
|
233
|
-
result = @instance.cells_get_worksheet_columns(name, sheet_name, { :folder=>folder})
|
234
|
-
expect(result.code).to eql(200)
|
235
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
236
|
-
end
|
237
|
-
end
|
238
|
-
|
239
|
-
# unit tests for cells_get_worksheet_row
|
240
|
-
# Read worksheet row data by row's index.
|
241
|
-
#
|
242
|
-
# @param name The workbook name.
|
243
|
-
# @param sheet_name The worksheet name.
|
244
|
-
# @param row_index The row index.
|
245
|
-
# @param [Hash] opts the optional parameters
|
246
|
-
# @option opts [String] :folder The workbook folder.
|
247
|
-
# @option opts [String] :storage storage name.
|
248
|
-
# @return [RowResponse]
|
249
|
-
describe 'cells_get_worksheet_row test' do
|
250
|
-
it "should work" do
|
251
|
-
name = $BOOK1
|
252
|
-
sheet_name = $SHEET1
|
253
|
-
row_index = 100
|
254
|
-
folder = $TEMPFOLDER
|
255
|
-
storage = nil
|
256
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
257
|
-
expect(result.uploaded.size).to be > 0
|
258
|
-
result = @instance.cells_get_worksheet_row(name, sheet_name, row_index, { :folder=>folder})
|
259
|
-
expect(result.code).to eql(200)
|
260
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
# unit tests for cells_get_worksheet_rows
|
265
|
-
# Read worksheet rows info.
|
266
|
-
#
|
267
|
-
# @param name The workbook name.
|
268
|
-
# @param sheet_name The worksheet name.
|
269
|
-
# @param [Hash] opts the optional parameters
|
270
|
-
# @option opts [String] :folder The workdook folder.
|
271
|
-
# @option opts [String] :storage storage name.
|
272
|
-
# @return [RowsResponse]
|
273
|
-
describe 'cells_get_worksheet_rows test' do
|
274
|
-
it "should work" do
|
275
|
-
name = $BOOK1
|
276
|
-
sheet_name = $SHEET1
|
277
|
-
folder = $TEMPFOLDER
|
278
|
-
storage = nil
|
279
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
280
|
-
expect(result.uploaded.size).to be > 0
|
281
|
-
result = @instance.cells_get_worksheet_rows(name, sheet_name, { :folder=>folder})
|
282
|
-
expect(result.code).to eql(200)
|
283
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
284
|
-
end
|
285
|
-
end
|
286
|
-
|
287
|
-
# unit tests for cells_post_cell_calculate
|
288
|
-
# Cell calculate formula
|
289
|
-
#
|
290
|
-
# @param name
|
291
|
-
# @param sheet_name
|
292
|
-
# @param cell_name
|
293
|
-
# @param [Hash] opts the optional parameters
|
294
|
-
# @option opts [CalculationOptions] :options
|
295
|
-
# @option opts [String] :folder
|
296
|
-
# @option opts [String] :storage storage name.
|
297
|
-
# @return [CellsCloudResponse]
|
298
|
-
describe 'cells_post_cell_calculate test' do
|
299
|
-
it "should work" do
|
300
|
-
name = $BOOK1
|
301
|
-
sheet_name = $SHEET1
|
302
|
-
cell_name = $CellName
|
303
|
-
options = AsposeCellsCloud::CalculationOptions.new({Recursive:true,IgnoreError:true})
|
304
|
-
folder = $TEMPFOLDER
|
305
|
-
storage = nil
|
306
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
307
|
-
expect(result.uploaded.size).to be > 0
|
308
|
-
result = @instance.cells_post_cell_calculate(name, sheet_name, cell_name, { :options=>options,:folder=>folder})
|
309
|
-
expect(result.code).to eql(200)
|
310
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
311
|
-
end
|
312
|
-
end
|
313
|
-
|
314
|
-
# # unit tests for cells_post_cell_characters
|
315
|
-
# # Set cell characters
|
316
|
-
# #
|
317
|
-
# # @param name
|
318
|
-
# # @param sheet_name
|
319
|
-
# # @param cell_name
|
320
|
-
# # @param [Hash] opts the optional parameters
|
321
|
-
# # @option opts [Array<FontSetting>] :options
|
322
|
-
# # @option opts [String] :folder
|
323
|
-
# # @option opts [String] :storage storage name.
|
324
|
-
# # @return [CellsCloudResponse]
|
325
|
-
# describe 'cells_post_cell_characters test' do
|
326
|
-
# it "should work" do
|
327
|
-
# name = $BOOK1
|
328
|
-
# sheet_name = $SHEET1
|
329
|
-
# cell_name = $CellName
|
330
|
-
# options = nil
|
331
|
-
# folder = $TEMPFOLDER
|
332
|
-
# storage = nil
|
333
|
-
# result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
334
|
-
# expect(result.uploaded.size).to be > 0
|
335
|
-
# result = @instance.cells_post_cell_characters(name, sheet_name, cell_name, { :options=>options,:folder=>folder})
|
336
|
-
# expect(result.code).to eql(200)
|
337
|
-
# # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
338
|
-
# end
|
339
|
-
# end
|
340
|
-
|
341
|
-
# unit tests for cells_post_clear_contents
|
342
|
-
# Clear cells contents.
|
343
|
-
#
|
344
|
-
# @param name Workbook name.
|
345
|
-
# @param sheet_name Worksheet name.
|
346
|
-
# @param [Hash] opts the optional parameters
|
347
|
-
# @option opts [String] :range The range.
|
348
|
-
# @option opts [Integer] :start_row The start row.
|
349
|
-
# @option opts [Integer] :start_column The start column.
|
350
|
-
# @option opts [Integer] :end_row The end row.
|
351
|
-
# @option opts [Integer] :end_column The end column.
|
352
|
-
# @option opts [String] :folder The workbook folder.
|
353
|
-
# @option opts [String] :storage storage name.
|
354
|
-
# @return [CellsCloudResponse]
|
355
|
-
describe 'cells_post_clear_contents test' do
|
356
|
-
it "should work" do
|
357
|
-
name = $BOOK1
|
358
|
-
sheet_name = $SHEET1
|
359
|
-
range = $RANGE
|
360
|
-
start_row = 1
|
361
|
-
start_column = 1
|
362
|
-
end_row = 2
|
363
|
-
end_column = 2
|
364
|
-
folder = $TEMPFOLDER
|
365
|
-
storage = nil
|
366
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
367
|
-
expect(result.uploaded.size).to be > 0
|
368
|
-
result = @instance.cells_post_clear_contents(name, sheet_name, {:range=>range, :start_row=>start_row, :start_column=>start_column, :end_row=>end_row, :end_column=>end_column, :folder=>folder})
|
369
|
-
expect(result.code).to eql(200)
|
370
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
371
|
-
end
|
372
|
-
end
|
373
|
-
|
374
|
-
# unit tests for cells_post_clear_formats
|
375
|
-
# Clear cells contents.
|
376
|
-
#
|
377
|
-
# @param name Workbook name.
|
378
|
-
# @param sheet_name Worksheet name.
|
379
|
-
# @param [Hash] opts the optional parameters
|
380
|
-
# @option opts [String] :range The range.
|
381
|
-
# @option opts [Integer] :start_row The start row.
|
382
|
-
# @option opts [Integer] :start_column The start column.
|
383
|
-
# @option opts [Integer] :end_row The end row.
|
384
|
-
# @option opts [Integer] :end_column The end column.
|
385
|
-
# @option opts [String] :folder The workbook folder.
|
386
|
-
# @option opts [String] :storage storage name.
|
387
|
-
# @return [CellsCloudResponse]
|
388
|
-
describe 'cells_post_clear_formats test' do
|
389
|
-
it "should work" do
|
390
|
-
name = $BOOK1
|
391
|
-
sheet_name = $SHEET1
|
392
|
-
range = $RANGE
|
393
|
-
start_row = 1
|
394
|
-
start_column = 1
|
395
|
-
end_row = 2
|
396
|
-
end_column = 2
|
397
|
-
folder = $TEMPFOLDER
|
398
|
-
storage = nil
|
399
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
400
|
-
expect(result.uploaded.size).to be > 0
|
401
|
-
result = @instance.cells_post_clear_formats(name, sheet_name, {:range=>range, :start_row=>start_row, :start_column=>start_column, :end_row=>end_row, :end_column=>end_column, :folder=>folder})
|
402
|
-
expect(result.code).to eql(200)
|
403
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
404
|
-
end
|
405
|
-
end
|
406
|
-
|
407
|
-
# unit tests for cells_post_column_style
|
408
|
-
# Set column style
|
409
|
-
#
|
410
|
-
# @param name The workbook name.
|
411
|
-
# @param sheet_name The worksheet name.
|
412
|
-
# @param column_index The column index.
|
413
|
-
# @param [Hash] opts the optional parameters
|
414
|
-
# @option opts [Style] :style Style dto
|
415
|
-
# @option opts [String] :folder The workbook folder.
|
416
|
-
# @option opts [String] :storage storage name.
|
417
|
-
# @return [CellsCloudResponse]
|
418
|
-
describe 'cells_post_column_style test' do
|
419
|
-
it "should work" do
|
420
|
-
name = $BOOK1
|
421
|
-
sheet_name = $SHEET1
|
422
|
-
column_index = 100
|
423
|
-
style = AsposeCellsCloud::Style.new
|
424
|
-
folder = $TEMPFOLDER
|
425
|
-
storage = nil
|
426
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
427
|
-
expect(result.uploaded.size).to be > 0
|
428
|
-
result = @instance.cells_post_column_style(name, sheet_name, column_index, { :style=>style, :folder=>folder})
|
429
|
-
expect(result.code).to eql(200)
|
430
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
431
|
-
end
|
432
|
-
end
|
433
|
-
|
434
|
-
# unit tests for cells_post_copy_cell_into_cell
|
435
|
-
# Copy cell into cell
|
436
|
-
#
|
437
|
-
# @param name Workbook name.
|
438
|
-
# @param dest_cell_name Destination cell name
|
439
|
-
# @param sheet_name Destination worksheet name.
|
440
|
-
# @param worksheet Source worksheet name.
|
441
|
-
# @param [Hash] opts the optional parameters
|
442
|
-
# @option opts [String] :cellname Source cell name
|
443
|
-
# @option opts [Integer] :row Source row
|
444
|
-
# @option opts [Integer] :column Source column
|
445
|
-
# @option opts [String] :folder Folder name
|
446
|
-
# @option opts [String] :storage storage name.
|
447
|
-
# @return [CellsCloudResponse]
|
448
|
-
describe 'cells_post_copy_cell_into_cell test' do
|
449
|
-
it "should work" do
|
450
|
-
name = $BOOK1
|
451
|
-
dest_cell_name = 'C1'
|
452
|
-
sheet_name = $SHEET1
|
453
|
-
worksheet = $SHEET2
|
454
|
-
cellname = $CellName
|
455
|
-
row = 1
|
456
|
-
column = 1
|
457
|
-
folder = $TEMPFOLDER
|
458
|
-
storage = nil
|
459
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
460
|
-
expect(result.uploaded.size).to be > 0
|
461
|
-
result = @instance.cells_post_copy_cell_into_cell(name, dest_cell_name, sheet_name, worksheet, {:cellname=>cellname, :row=>row, :column=>column, :folder=>folder})
|
462
|
-
expect(result.code).to eql(200)
|
463
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
464
|
-
end
|
465
|
-
end
|
466
|
-
|
467
|
-
# unit tests for cells_post_copy_worksheet_columns
|
468
|
-
# Copy worksheet columns.
|
469
|
-
#
|
470
|
-
# @param name The workbook name.
|
471
|
-
# @param sheet_name The worksheet name.
|
472
|
-
# @param source_column_index Source column index
|
473
|
-
# @param destination_column_index Destination column index
|
474
|
-
# @param column_number The copied column number
|
475
|
-
# @param [Hash] opts the optional parameters
|
476
|
-
# @option opts [String] :worksheet The Worksheet
|
477
|
-
# @option opts [String] :folder The document folder.
|
478
|
-
# @option opts [String] :storage storage name.
|
479
|
-
# @return [CellsCloudResponse]
|
480
|
-
describe 'cells_post_copy_worksheet_columns test' do
|
481
|
-
it "should work" do
|
482
|
-
name = $BOOK1
|
483
|
-
sheet_name = $SHEET1
|
484
|
-
source_column_index = 100
|
485
|
-
destination_column_index = 100
|
486
|
-
column_number = 1
|
487
|
-
worksheet = $SHEET2
|
488
|
-
folder = $TEMPFOLDER
|
489
|
-
storage = nil
|
490
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
491
|
-
expect(result.uploaded.size).to be > 0
|
492
|
-
result = @instance.cells_post_copy_worksheet_columns(name, sheet_name, source_column_index, destination_column_index, column_number, { :worksheet=>worksheet,:folder=>folder})
|
493
|
-
expect(result.code).to eql(200)
|
494
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
495
|
-
end
|
496
|
-
end
|
497
|
-
|
498
|
-
# unit tests for cells_post_copy_worksheet_rows
|
499
|
-
# Copy worksheet rows.
|
500
|
-
#
|
501
|
-
# @param name The workbook name.
|
502
|
-
# @param sheet_name The worksheet name.
|
503
|
-
# @param source_row_index Source row index
|
504
|
-
# @param destination_row_index Destination row index
|
505
|
-
# @param row_number The copied row number
|
506
|
-
# @param [Hash] opts the optional parameters
|
507
|
-
# @option opts [String] :worksheet worksheet
|
508
|
-
# @option opts [String] :folder The document folder.
|
509
|
-
# @option opts [String] :storage storage name.
|
510
|
-
# @return [CellsCloudResponse]
|
511
|
-
describe 'cells_post_copy_worksheet_rows test' do
|
512
|
-
it "should work" do
|
513
|
-
name = $BOOK1
|
514
|
-
sheet_name = $SHEET1
|
515
|
-
source_row_index = 100
|
516
|
-
destination_row_index = 100
|
517
|
-
row_number = 1
|
518
|
-
worksheet = $SHEET2
|
519
|
-
folder = $TEMPFOLDER
|
520
|
-
storage = nil
|
521
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
522
|
-
expect(result.uploaded.size).to be > 0
|
523
|
-
result = @instance.cells_post_copy_worksheet_rows(name, sheet_name, source_row_index, destination_row_index, row_number, {:worksheet=>worksheet, :folder=>folder})
|
524
|
-
expect(result.code).to eql(200)
|
525
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
526
|
-
end
|
527
|
-
end
|
528
|
-
|
529
|
-
# unit tests for cells_post_group_worksheet_columns
|
530
|
-
# Group worksheet columns.
|
531
|
-
#
|
532
|
-
# @param name The workbook name.
|
533
|
-
# @param sheet_name The worksheet name.
|
534
|
-
# @param first_index The first column index to be operated.
|
535
|
-
# @param last_index The last column index to be operated.
|
536
|
-
# @param [Hash] opts the optional parameters
|
537
|
-
# @option opts [BOOLEAN] :hide columns visible state
|
538
|
-
# @option opts [String] :folder The document folder.
|
539
|
-
# @option opts [String] :storage storage name.
|
540
|
-
# @return [CellsCloudResponse]
|
541
|
-
describe 'cells_post_group_worksheet_columns test' do
|
542
|
-
it "should work" do
|
543
|
-
name = $BOOK1
|
544
|
-
sheet_name = $SHEET1
|
545
|
-
first_index = 1
|
546
|
-
last_index = 4
|
547
|
-
hide = true
|
548
|
-
folder = $TEMPFOLDER
|
549
|
-
storage = nil
|
550
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
551
|
-
expect(result.uploaded.size).to be > 0
|
552
|
-
result = @instance.cells_post_group_worksheet_columns(name, sheet_name, first_index, last_index, { :hide=>hide, :folder=>folder})
|
553
|
-
expect(result.code).to eql(200)
|
554
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
555
|
-
end
|
556
|
-
end
|
557
|
-
|
558
|
-
# unit tests for cells_post_group_worksheet_rows
|
559
|
-
# Group worksheet rows.
|
560
|
-
#
|
561
|
-
# @param name The workbook name.
|
562
|
-
# @param sheet_name The worksheet name.
|
563
|
-
# @param first_index The first row index to be operated.
|
564
|
-
# @param last_index The last row index to be operated.
|
565
|
-
# @param [Hash] opts the optional parameters
|
566
|
-
# @option opts [BOOLEAN] :hide rows visible state
|
567
|
-
# @option opts [String] :folder The document folder.
|
568
|
-
# @option opts [String] :storage storage name.
|
569
|
-
# @return [CellsCloudResponse]
|
570
|
-
describe 'cells_post_group_worksheet_rows test' do
|
571
|
-
it "should work" do
|
572
|
-
name = $BOOK1
|
573
|
-
sheet_name = $SHEET1
|
574
|
-
first_index = 1
|
575
|
-
last_index = 2
|
576
|
-
hide = true
|
577
|
-
folder = $TEMPFOLDER
|
578
|
-
storage = nil
|
579
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
580
|
-
expect(result.uploaded.size).to be > 0
|
581
|
-
result = @instance.cells_post_group_worksheet_rows(name, sheet_name, first_index, last_index, {:hide=>hide, :folder=>folder})
|
582
|
-
expect(result.code).to eql(200)
|
583
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
584
|
-
end
|
585
|
-
end
|
586
|
-
|
587
|
-
# unit tests for cells_post_hide_worksheet_columns
|
588
|
-
# Hide worksheet columns.
|
589
|
-
#
|
590
|
-
# @param name The workbook name.
|
591
|
-
# @param sheet_name The worksheet name.
|
592
|
-
# @param start_column The begin column index to be operated.
|
593
|
-
# @param total_columns Number of columns to be operated.
|
594
|
-
# @param [Hash] opts the optional parameters
|
595
|
-
# @option opts [String] :folder The document folder.
|
596
|
-
# @option opts [String] :storage storage name.
|
597
|
-
# @return [CellsCloudResponse]
|
598
|
-
describe 'cells_post_hide_worksheet_columns test' do
|
599
|
-
it "should work" do
|
600
|
-
name = $BOOK1
|
601
|
-
sheet_name = $SHEET1
|
602
|
-
start_column = 1
|
603
|
-
total_columns = 2
|
604
|
-
folder = $TEMPFOLDER
|
605
|
-
storage = nil
|
606
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
607
|
-
expect(result.uploaded.size).to be > 0
|
608
|
-
result = @instance.cells_post_hide_worksheet_columns(name, sheet_name, start_column, total_columns, { :folder=>folder})
|
609
|
-
expect(result.code).to eql(200)
|
610
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
611
|
-
end
|
612
|
-
end
|
613
|
-
|
614
|
-
# unit tests for cells_post_hide_worksheet_rows
|
615
|
-
# Hide worksheet rows.
|
616
|
-
#
|
617
|
-
# @param name The workbook name.
|
618
|
-
# @param sheet_name The worksheet name.
|
619
|
-
# @param startrow The begin row index to be operated.
|
620
|
-
# @param total_rows Number of rows to be operated.
|
621
|
-
# @param [Hash] opts the optional parameters
|
622
|
-
# @option opts [String] :folder The document folder.
|
623
|
-
# @option opts [String] :storage storage name.
|
624
|
-
# @return [CellsCloudResponse]
|
625
|
-
describe 'cells_post_hide_worksheet_rows test' do
|
626
|
-
it "should work" do
|
627
|
-
name = $BOOK1
|
628
|
-
sheet_name = $SHEET1
|
629
|
-
startrow = 1
|
630
|
-
total_rows = 2
|
631
|
-
folder = $TEMPFOLDER
|
632
|
-
storage = nil
|
633
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
634
|
-
expect(result.uploaded.size).to be > 0
|
635
|
-
result = @instance.cells_post_hide_worksheet_rows(name, sheet_name, startrow, total_rows, { :folder=>folder})
|
636
|
-
expect(result.code).to eql(200)
|
637
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
638
|
-
end
|
639
|
-
end
|
640
|
-
|
641
|
-
# unit tests for cells_post_row_style
|
642
|
-
# Set row style.
|
643
|
-
#
|
644
|
-
# @param name The workbook name.
|
645
|
-
# @param sheet_name The worksheet name.
|
646
|
-
# @param row_index The row index.
|
647
|
-
# @param [Hash] opts the optional parameters
|
648
|
-
# @option opts [Style] :style Style dto
|
649
|
-
# @option opts [String] :folder The document folder.
|
650
|
-
# @option opts [String] :storage storage name.
|
651
|
-
# @return [CellsCloudResponse]
|
652
|
-
describe 'cells_post_row_style test' do
|
653
|
-
it "should work" do
|
654
|
-
name = $BOOK1
|
655
|
-
sheet_name = $SHEET1
|
656
|
-
row_index = 100
|
657
|
-
style = AsposeCellsCloud::Style.new
|
658
|
-
folder = $TEMPFOLDER
|
659
|
-
storage = nil
|
660
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
661
|
-
expect(result.uploaded.size).to be > 0
|
662
|
-
result = @instance.cells_post_row_style(name, sheet_name, row_index, { :style=>style, :folder=>folder})
|
663
|
-
expect(result.code).to eql(200)
|
664
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
665
|
-
end
|
666
|
-
end
|
667
|
-
|
668
|
-
# unit tests for cells_get_cell_html_string
|
669
|
-
# Set htmlstring value into cell
|
670
|
-
#
|
671
|
-
# @param name Workbook name.
|
672
|
-
# @param sheet_name Worksheet name.
|
673
|
-
# @param cell_name The cell name.
|
674
|
-
# @option opts [String] :folder The workbook folder.
|
675
|
-
# @option opts [String] :storage storage name.
|
676
|
-
# @return [CellResponse]
|
677
|
-
describe 'cells_get_cell_html_string test' do
|
678
|
-
it "should work" do
|
679
|
-
name = $BOOK1
|
680
|
-
sheet_name = $SHEET1
|
681
|
-
cell_name = $CellName
|
682
|
-
folder = $TEMPFOLDER
|
683
|
-
storage = nil
|
684
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
685
|
-
expect(result.uploaded.size).to be > 0
|
686
|
-
result = @instance.cells_get_cell_html_string(name, sheet_name, cell_name, { :folder=>folder})
|
687
|
-
expect(result).not_to be_empty
|
688
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
689
|
-
end
|
690
|
-
end
|
691
|
-
|
692
|
-
# unit tests for cells_post_set_cell_html_string
|
693
|
-
# Set htmlstring value into cell
|
694
|
-
#
|
695
|
-
# @param name Workbook name.
|
696
|
-
# @param sheet_name Worksheet name.
|
697
|
-
# @param cell_name The cell name.
|
698
|
-
# @param [Hash] opts the optional parameters
|
699
|
-
# @option opts [String] :folder The workbook folder.
|
700
|
-
# @option opts [String] :storage storage name.
|
701
|
-
# @return [CellResponse]
|
702
|
-
describe 'cells_post_set_cell_html_string test' do
|
703
|
-
it "should work" do
|
704
|
-
name = $BOOK1
|
705
|
-
sheet_name = $SHEET1
|
706
|
-
cell_name = $CellName
|
707
|
-
folder = $TEMPFOLDER
|
708
|
-
storage = nil
|
709
|
-
html_string ="sssssssssssssssssssssss"
|
710
|
-
# result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
711
|
-
# expect(result.uploaded.size).to be > 0
|
712
|
-
result = @instance.cells_post_set_cell_html_string(name, sheet_name, cell_name, html_string, { :folder=>folder})
|
713
|
-
expect(result.code).to eql(200)
|
714
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
715
|
-
end
|
716
|
-
end
|
717
|
-
|
718
|
-
# unit tests for cells_post_set_cell_range_value
|
719
|
-
# Set cell range value
|
720
|
-
#
|
721
|
-
# @param name Workbook name.
|
722
|
-
# @param sheet_name Worksheet name.
|
723
|
-
# @param cellarea Cell area (like \"A1:C2\")
|
724
|
-
# @param value Range value
|
725
|
-
# @param type Value data type (like \"int\")
|
726
|
-
# @param [Hash] opts the optional parameters
|
727
|
-
# @option opts [String] :folder Folder name
|
728
|
-
# @option opts [String] :storage storage name.
|
729
|
-
# @return [CellsCloudResponse]
|
730
|
-
describe 'cells_post_set_cell_range_value test' do
|
731
|
-
it "should work" do
|
732
|
-
name = $BOOK1
|
733
|
-
sheet_name = $SHEET1
|
734
|
-
cellarea = $CELLAREA
|
735
|
-
value = 1
|
736
|
-
type = 'string'
|
737
|
-
folder = $TEMPFOLDER
|
738
|
-
storage = nil
|
739
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
740
|
-
expect(result.uploaded.size).to be > 0
|
741
|
-
result = @instance.cells_post_set_cell_range_value(name, sheet_name, cellarea, value, type, { :folder=>folder})
|
742
|
-
expect(result.code).to eql(200)
|
743
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
744
|
-
end
|
745
|
-
end
|
746
|
-
|
747
|
-
# unit tests for cells_post_set_worksheet_column_width
|
748
|
-
# Set worksheet column width.
|
749
|
-
#
|
750
|
-
# @param name The workbook name.
|
751
|
-
# @param sheet_name The worksheet name.
|
752
|
-
# @param column_index The column index.
|
753
|
-
# @param width The width.
|
754
|
-
# @param [Hash] opts the optional parameters
|
755
|
-
# @option opts [String] :folder The workbook folder.
|
756
|
-
# @option opts [String] :storage storage name.
|
757
|
-
# @return [ColumnResponse]
|
758
|
-
describe 'cells_post_set_worksheet_column_width test' do
|
759
|
-
it "should work" do
|
760
|
-
name = $BOOK1
|
761
|
-
sheet_name = $SHEET1
|
762
|
-
column_index = 100
|
763
|
-
width = 10
|
764
|
-
folder = $TEMPFOLDER
|
765
|
-
storage = nil
|
766
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
767
|
-
expect(result.uploaded.size).to be > 0
|
768
|
-
result = @instance.cells_post_set_worksheet_column_width(name, sheet_name, column_index, width,10, { :folder=>folder})
|
769
|
-
expect(result.code).to eql(200)
|
770
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
771
|
-
end
|
772
|
-
end
|
773
|
-
|
774
|
-
# unit tests for cells_post_ungroup_worksheet_columns
|
775
|
-
# Ungroup worksheet columns.
|
776
|
-
#
|
777
|
-
# @param name The workbook name.
|
778
|
-
# @param sheet_name The worksheet name.
|
779
|
-
# @param first_index The first column index to be operated.
|
780
|
-
# @param last_index The last column index to be operated.
|
781
|
-
# @param [Hash] opts the optional parameters
|
782
|
-
# @option opts [String] :folder The document folder.
|
783
|
-
# @option opts [String] :storage storage name.
|
784
|
-
# @return [CellsCloudResponse]
|
785
|
-
describe 'cells_post_ungroup_worksheet_columns test' do
|
786
|
-
it "should work" do
|
787
|
-
name = $BOOK1
|
788
|
-
sheet_name = $SHEET1
|
789
|
-
first_index = 1
|
790
|
-
last_index = 2
|
791
|
-
folder = $TEMPFOLDER
|
792
|
-
storage = nil
|
793
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
794
|
-
expect(result.uploaded.size).to be > 0
|
795
|
-
result = @instance.cells_post_ungroup_worksheet_columns(name, sheet_name, first_index, last_index, { :folder=>folder})
|
796
|
-
expect(result.code).to eql(200)
|
797
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
798
|
-
end
|
799
|
-
end
|
800
|
-
|
801
|
-
# unit tests for cells_post_ungroup_worksheet_rows
|
802
|
-
# Ungroup worksheet rows.
|
803
|
-
#
|
804
|
-
# @param name The workbook name.
|
805
|
-
# @param sheet_name The worksheet name.
|
806
|
-
# @param first_index The first row index to be operated.
|
807
|
-
# @param last_index The last row index to be operated.
|
808
|
-
# @param [Hash] opts the optional parameters
|
809
|
-
# @option opts [BOOLEAN] :is_all Is all row to be operated
|
810
|
-
# @option opts [String] :folder The document folder.
|
811
|
-
# @option opts [String] :storage storage name.
|
812
|
-
# @return [CellsCloudResponse]
|
813
|
-
describe 'cells_post_ungroup_worksheet_rows test' do
|
814
|
-
it "should work" do
|
815
|
-
name = $BOOK1
|
816
|
-
sheet_name = $SHEET1
|
817
|
-
first_index = 1
|
818
|
-
last_index = 10
|
819
|
-
is_all = true
|
820
|
-
folder = $TEMPFOLDER
|
821
|
-
storage = nil
|
822
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
823
|
-
expect(result.uploaded.size).to be > 0
|
824
|
-
result = @instance.cells_post_ungroup_worksheet_rows(name, sheet_name, first_index, last_index, { :is_all=>is_all, :folder=>folder})
|
825
|
-
expect(result.code).to eql(200)
|
826
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
827
|
-
end
|
828
|
-
end
|
829
|
-
|
830
|
-
# unit tests for cells_post_unhide_worksheet_columns
|
831
|
-
# Unhide worksheet columns.
|
832
|
-
#
|
833
|
-
# @param name The workbook name.
|
834
|
-
# @param sheet_name The worksheet name.
|
835
|
-
# @param startcolumn The begin column index to be operated.
|
836
|
-
# @param total_columns Number of columns to be operated.
|
837
|
-
# @param [Hash] opts the optional parameters
|
838
|
-
# @option opts [Float] :width The new column width.
|
839
|
-
# @option opts [String] :folder The document folder.
|
840
|
-
# @option opts [String] :storage storage name.
|
841
|
-
# @return [CellsCloudResponse]
|
842
|
-
describe 'cells_post_unhide_worksheet_columns test' do
|
843
|
-
it "should work" do
|
844
|
-
name = $BOOK1
|
845
|
-
sheet_name = $SHEET1
|
846
|
-
startcolumn = 1
|
847
|
-
total_columns = 2
|
848
|
-
width = 10
|
849
|
-
folder = $TEMPFOLDER
|
850
|
-
storage = nil
|
851
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
852
|
-
expect(result.uploaded.size).to be > 0
|
853
|
-
result = @instance.cells_post_unhide_worksheet_columns(name, sheet_name, startcolumn, total_columns, { :width=>width, :folder=>folder})
|
854
|
-
expect(result.code).to eql(200)
|
855
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
856
|
-
end
|
857
|
-
end
|
858
|
-
|
859
|
-
# unit tests for cells_post_unhide_worksheet_rows
|
860
|
-
# Unhide worksheet rows.
|
861
|
-
#
|
862
|
-
# @param name The workbook name.
|
863
|
-
# @param sheet_name The worksheet name.
|
864
|
-
# @param startrow The begin row index to be operated.
|
865
|
-
# @param total_rows Number of rows to be operated.
|
866
|
-
# @param [Hash] opts the optional parameters
|
867
|
-
# @option opts [Float] :height The new row height.
|
868
|
-
# @option opts [String] :folder The document folder.
|
869
|
-
# @option opts [String] :storage storage name.
|
870
|
-
# @return [CellsCloudResponse]
|
871
|
-
describe 'cells_post_unhide_worksheet_rows test' do
|
872
|
-
it "should work" do
|
873
|
-
name = $BOOK1
|
874
|
-
sheet_name = $SHEET1
|
875
|
-
startrow = 1
|
876
|
-
total_rows = 1
|
877
|
-
height = 10
|
878
|
-
folder = $TEMPFOLDER
|
879
|
-
storage = nil
|
880
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
881
|
-
expect(result.uploaded.size).to be > 0
|
882
|
-
result = @instance.cells_post_unhide_worksheet_rows(name, sheet_name, startrow, total_rows, {:height=>height, :folder=>folder})
|
883
|
-
expect(result.code).to eql(200)
|
884
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
885
|
-
end
|
886
|
-
end
|
887
|
-
|
888
|
-
# unit tests for cells_post_update_worksheet_cell_style
|
889
|
-
# Update cell's style.
|
890
|
-
#
|
891
|
-
# @param name Workbook name.
|
892
|
-
# @param sheet_name Worksheet name.
|
893
|
-
# @param cell_name The cell name.
|
894
|
-
# @param [Hash] opts the optional parameters
|
895
|
-
# @option opts [Style] :style with update style settings.
|
896
|
-
# @option opts [String] :folder The workbook folder.
|
897
|
-
# @option opts [String] :storage storage name.
|
898
|
-
# @return [StyleResponse]
|
899
|
-
describe 'cells_post_update_worksheet_cell_style test' do
|
900
|
-
it "should work" do
|
901
|
-
name = $BOOK1
|
902
|
-
sheet_name = $SHEET1
|
903
|
-
cell_name = 'A1'
|
904
|
-
style = AsposeCellsCloud::Style.new
|
905
|
-
folder = $TEMPFOLDER
|
906
|
-
storage = nil
|
907
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
908
|
-
expect(result.uploaded.size).to be > 0
|
909
|
-
result = @instance.cells_post_update_worksheet_cell_style(name, sheet_name, cell_name,{ :style=>style, :folder=>folder})
|
910
|
-
expect(result.code).to eql(200)
|
911
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
912
|
-
end
|
913
|
-
end
|
914
|
-
|
915
|
-
# unit tests for cells_post_update_worksheet_range_style
|
916
|
-
# Update cell's range style.
|
917
|
-
#
|
918
|
-
# @param name Workbook name.
|
919
|
-
# @param sheet_name Worksheet name.
|
920
|
-
# @param range The range.
|
921
|
-
# @param [Hash] opts the optional parameters
|
922
|
-
# @option opts [Style] :style with update style settings.
|
923
|
-
# @option opts [String] :folder The workbook folder.
|
924
|
-
# @option opts [String] :storage storage name.
|
925
|
-
# @return [CellsCloudResponse]
|
926
|
-
describe 'cells_post_update_worksheet_range_style test' do
|
927
|
-
it "should work" do
|
928
|
-
name = $BOOK1
|
929
|
-
sheet_name = $SHEET1
|
930
|
-
range = $RANGE
|
931
|
-
style = AsposeCellsCloud::Style.new
|
932
|
-
folder = $TEMPFOLDER
|
933
|
-
storage = nil
|
934
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
935
|
-
expect(result.uploaded.size).to be > 0
|
936
|
-
result = @instance.cells_post_update_worksheet_range_style(name, sheet_name, range,{ :style=>style, :folder=>folder})
|
937
|
-
expect(result.code).to eql(200)
|
938
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
939
|
-
end
|
940
|
-
end
|
941
|
-
|
942
|
-
# unit tests for cells_post_update_worksheet_row
|
943
|
-
# Update worksheet row.
|
944
|
-
#
|
945
|
-
# @param name The workbook name.
|
946
|
-
# @param sheet_name The worksheet name.
|
947
|
-
# @param row_index The row index.
|
948
|
-
# @param [Hash] opts the optional parameters
|
949
|
-
# @option opts [Float] :height The new row height.
|
950
|
-
# @option opts [String] :folder The document folder.
|
951
|
-
# @option opts [String] :storage storage name.
|
952
|
-
# @return [RowResponse]
|
953
|
-
describe 'cells_post_update_worksheet_row test' do
|
954
|
-
it "should work" do
|
955
|
-
name = $BOOK1
|
956
|
-
sheet_name = $SHEET1
|
957
|
-
row_index = 100
|
958
|
-
height = 10
|
959
|
-
folder = $TEMPFOLDER
|
960
|
-
storage = nil
|
961
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
962
|
-
expect(result.uploaded.size).to be > 0
|
963
|
-
result = @instance.cells_post_update_worksheet_row(name, sheet_name, row_index, { :height=>height,:folder=>folder})
|
964
|
-
expect(result.code).to eql(200)
|
965
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
966
|
-
end
|
967
|
-
end
|
968
|
-
|
969
|
-
# unit tests for cells_post_worksheet_cell_set_value
|
970
|
-
# Set cell value.
|
971
|
-
#
|
972
|
-
# @param name The document name.
|
973
|
-
# @param sheet_name The worksheet name.
|
974
|
-
# @param cell_name The cell name.
|
975
|
-
# @param [Hash] opts the optional parameters
|
976
|
-
# @option opts [String] :value The cell value.
|
977
|
-
# @option opts [String] :type The value type.
|
978
|
-
# @option opts [String] :formula Formula for cell
|
979
|
-
# @option opts [String] :folder The document folder.
|
980
|
-
# @option opts [String] :storage storage name.
|
981
|
-
# @return [CellResponse]
|
982
|
-
describe 'cells_post_worksheet_cell_set_value test' do
|
983
|
-
it "should work" do
|
984
|
-
name = $BOOK1
|
985
|
-
sheet_name = $SHEET1
|
986
|
-
cell_name = 'A1'
|
987
|
-
value = 1
|
988
|
-
type = 'string'
|
989
|
-
formula = nil
|
990
|
-
folder = $TEMPFOLDER
|
991
|
-
storage = nil
|
992
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
993
|
-
expect(result.uploaded.size).to be > 0
|
994
|
-
result = @instance.cells_post_worksheet_cell_set_value(name, sheet_name, cell_name, {:value=>value, :type=>type, :folder=>folder})
|
995
|
-
expect(result.code).to eql(200)
|
996
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
997
|
-
end
|
998
|
-
end
|
999
|
-
|
1000
|
-
# unit tests for cells_post_worksheet_merge
|
1001
|
-
# Merge cells.
|
1002
|
-
#
|
1003
|
-
# @param name The workbook name.
|
1004
|
-
# @param sheet_name The worksheet name.
|
1005
|
-
# @param start_row The start row.
|
1006
|
-
# @param start_column The start column.
|
1007
|
-
# @param total_rows The total rows
|
1008
|
-
# @param total_columns The total columns.
|
1009
|
-
# @param [Hash] opts the optional parameters
|
1010
|
-
# @option opts [String] :folder The workbook folder.
|
1011
|
-
# @option opts [String] :storage storage name.
|
1012
|
-
# @return [CellsCloudResponse]
|
1013
|
-
describe 'cells_post_worksheet_merge test' do
|
1014
|
-
it "should work" do
|
1015
|
-
name = $BOOK1
|
1016
|
-
sheet_name = $SHEET1
|
1017
|
-
start_row = 1
|
1018
|
-
start_column = 1
|
1019
|
-
total_rows = 2
|
1020
|
-
total_columns = 2
|
1021
|
-
folder = $TEMPFOLDER
|
1022
|
-
storage = nil
|
1023
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
1024
|
-
expect(result.uploaded.size).to be > 0
|
1025
|
-
result = @instance.cells_post_worksheet_merge(name, sheet_name, start_row, start_column, total_rows, total_columns, { :folder=>folder})
|
1026
|
-
expect(result.code).to eql(200)
|
1027
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1028
|
-
end
|
1029
|
-
end
|
1030
|
-
|
1031
|
-
# unit tests for cells_post_worksheet_unmerge
|
1032
|
-
# Unmerge cells.
|
1033
|
-
#
|
1034
|
-
# @param name The workbook name.
|
1035
|
-
# @param sheet_name The worksheet name.
|
1036
|
-
# @param start_row The start row.
|
1037
|
-
# @param start_column The start column.
|
1038
|
-
# @param total_rows The total rows
|
1039
|
-
# @param total_columns The total columns.
|
1040
|
-
# @param [Hash] opts the optional parameters
|
1041
|
-
# @option opts [String] :folder The workbook folder.
|
1042
|
-
# @option opts [String] :storage storage name.
|
1043
|
-
# @return [CellsCloudResponse]
|
1044
|
-
describe 'cells_post_worksheet_unmerge test' do
|
1045
|
-
it "should work" do
|
1046
|
-
name = $BOOK1
|
1047
|
-
sheet_name = $SHEET1
|
1048
|
-
start_row = 1
|
1049
|
-
start_column = 1
|
1050
|
-
total_rows = 2
|
1051
|
-
total_columns = 2
|
1052
|
-
folder = $TEMPFOLDER
|
1053
|
-
storage = nil
|
1054
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
1055
|
-
expect(result.uploaded.size).to be > 0
|
1056
|
-
result = @instance.cells_post_worksheet_unmerge(name, sheet_name, start_row, start_column, total_rows, total_columns, { :folder=>folder})
|
1057
|
-
expect(result.code).to eql(200)
|
1058
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1059
|
-
end
|
1060
|
-
end
|
1061
|
-
|
1062
|
-
# unit tests for cells_put_insert_worksheet_columns
|
1063
|
-
# Insert worksheet columns.
|
1064
|
-
#
|
1065
|
-
# @param name The workbook name.
|
1066
|
-
# @param sheet_name The worksheet name.
|
1067
|
-
# @param column_index The column index.
|
1068
|
-
# @param columns The columns.
|
1069
|
-
# @param [Hash] opts the optional parameters
|
1070
|
-
# @option opts [BOOLEAN] :update_reference The update reference.
|
1071
|
-
# @option opts [String] :folder The workbook folder.
|
1072
|
-
# @option opts [String] :storage storage name.
|
1073
|
-
# @return [ColumnsResponse]
|
1074
|
-
describe 'cells_put_insert_worksheet_columns test' do
|
1075
|
-
it "should work" do
|
1076
|
-
name = $BOOK1
|
1077
|
-
sheet_name = $SHEET1
|
1078
|
-
column_index = 100
|
1079
|
-
columns = 2
|
1080
|
-
update_reference = true
|
1081
|
-
folder = $TEMPFOLDER
|
1082
|
-
storage = nil
|
1083
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
1084
|
-
expect(result.uploaded.size).to be > 0
|
1085
|
-
result = @instance.cells_put_insert_worksheet_columns(name, sheet_name, column_index, columns, {:update_reference=>update_reference, :folder=>folder})
|
1086
|
-
expect(result.code).to eql(200)
|
1087
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1088
|
-
end
|
1089
|
-
end
|
1090
|
-
|
1091
|
-
# unit tests for cells_put_insert_worksheet_row
|
1092
|
-
# Insert new worksheet row.
|
1093
|
-
#
|
1094
|
-
# @param name The workbook name.
|
1095
|
-
# @param sheet_name The worksheet name.
|
1096
|
-
# @param row_index The new row index.
|
1097
|
-
# @param [Hash] opts the optional parameters
|
1098
|
-
# @option opts [String] :folder The document folder.
|
1099
|
-
# @option opts [String] :storage storage name.
|
1100
|
-
# @return [RowResponse]
|
1101
|
-
describe 'cells_put_insert_worksheet_row test' do
|
1102
|
-
it "should work" do
|
1103
|
-
name = $BOOK1
|
1104
|
-
sheet_name = $SHEET1
|
1105
|
-
row_index = 100
|
1106
|
-
folder = $TEMPFOLDER
|
1107
|
-
storage = nil
|
1108
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
1109
|
-
expect(result.uploaded.size).to be > 0
|
1110
|
-
result = @instance.cells_put_insert_worksheet_row(name, sheet_name, row_index, { :folder=>folder})
|
1111
|
-
expect(result.code).to eql(200)
|
1112
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1113
|
-
end
|
1114
|
-
end
|
1115
|
-
|
1116
|
-
# unit tests for cells_put_insert_worksheet_rows
|
1117
|
-
# Insert several new worksheet rows.
|
1118
|
-
#
|
1119
|
-
# @param name The workbook name.
|
1120
|
-
# @param sheet_name The worksheet name.
|
1121
|
-
# @param startrow The begin row index to be operated.
|
1122
|
-
# @param [Hash] opts the optional parameters
|
1123
|
-
# @option opts [Integer] :total_rows Number of rows to be operated.
|
1124
|
-
# @option opts [BOOLEAN] :update_reference Indicates if update references in other worksheets.
|
1125
|
-
# @option opts [String] :folder The document folder.
|
1126
|
-
# @option opts [String] :storage storage name.
|
1127
|
-
# @return [CellsCloudResponse]
|
1128
|
-
describe 'cells_put_insert_worksheet_rows test' do
|
1129
|
-
it "should work" do
|
1130
|
-
name = $BOOK1
|
1131
|
-
sheet_name = $SHEET1
|
1132
|
-
startrow = 1
|
1133
|
-
total_rows = 2
|
1134
|
-
update_reference = true
|
1135
|
-
folder = $TEMPFOLDER
|
1136
|
-
storage = nil
|
1137
|
-
result = @instance.upload_file( folder+"/"+name, ::File.open(File.expand_path("data/"+name),"r") {|io| io.read(io.size) })
|
1138
|
-
expect(result.uploaded.size).to be > 0
|
1139
|
-
result = @instance.cells_put_insert_worksheet_rows(name, sheet_name, startrow, { :total_rows=>total_rows, :update_reference=>update_reference, :folder=>folder})
|
1140
|
-
expect(result.code).to eql(200)
|
1141
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1142
|
-
end
|
1143
|
-
end
|
1144
|
-
|
1145
|
-
end
|