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
@@ -0,0 +1,747 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
describe 'CellsApi' do
|
5
|
+
before do
|
6
|
+
@instance = AsposeCellsCloud::CellsApi.new($client_id,$client_secret,$api_version,$baseurl)
|
7
|
+
$VERBOSE = nil
|
8
|
+
end
|
9
|
+
|
10
|
+
after do
|
11
|
+
# run after each test
|
12
|
+
end
|
13
|
+
|
14
|
+
describe 'post_clear_contents test' do
|
15
|
+
it "should work" do
|
16
|
+
remote_folder = 'TestData/In'
|
17
|
+
|
18
|
+
local_name = 'Book1.xlsx'
|
19
|
+
remote_name = 'Book1.xlsx'
|
20
|
+
|
21
|
+
|
22
|
+
mapFiles = { }
|
23
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
24
|
+
|
25
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
26
|
+
@instance.upload_file(uploadrequest)
|
27
|
+
request = AsposeCellsCloud::PostClearContentsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:C10',:startRow=>1,:startColumn=>1,:endRow=>3,:endColumn=>3,:folder=>remote_folder,:storageName=>'');
|
28
|
+
@instance.post_clear_contents(request);
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
describe 'post_clear_formats test' do
|
33
|
+
it "should work" do
|
34
|
+
remote_folder = 'TestData/In'
|
35
|
+
|
36
|
+
local_name = 'Book1.xlsx'
|
37
|
+
remote_name = 'Book1.xlsx'
|
38
|
+
|
39
|
+
|
40
|
+
mapFiles = { }
|
41
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
42
|
+
|
43
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
44
|
+
@instance.upload_file(uploadrequest)
|
45
|
+
request = AsposeCellsCloud::PostClearFormatsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:C10',:startRow=>1,:startColumn=>1,:endRow=>3,:endColumn=>3,:folder=>remote_folder,:storageName=>'');
|
46
|
+
@instance.post_clear_formats(request);
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'post_update_worksheet_range_style test' do
|
51
|
+
it "should work" do
|
52
|
+
remote_folder = 'TestData/In'
|
53
|
+
|
54
|
+
local_name = 'Book1.xlsx'
|
55
|
+
remote_name = 'Book1.xlsx'
|
56
|
+
|
57
|
+
|
58
|
+
mapFiles = { }
|
59
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
60
|
+
|
61
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
62
|
+
@instance.upload_file(uploadrequest)
|
63
|
+
styleFont = AsposeCellsCloud::Font.new(:Size=>16 );
|
64
|
+
style = AsposeCellsCloud::Style.new(:Font=>styleFont );
|
65
|
+
request = AsposeCellsCloud::PostUpdateWorksheetRangeStyleRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:range=>'A1:C10',:style=>style,:folder=>remote_folder,:storageName=>'');
|
66
|
+
@instance.post_update_worksheet_range_style(request);
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'post_worksheet_merge test' do
|
71
|
+
it "should work" do
|
72
|
+
remote_folder = 'TestData/In'
|
73
|
+
|
74
|
+
local_name = 'Book1.xlsx'
|
75
|
+
remote_name = 'Book1.xlsx'
|
76
|
+
|
77
|
+
|
78
|
+
mapFiles = { }
|
79
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
80
|
+
|
81
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
82
|
+
@instance.upload_file(uploadrequest)
|
83
|
+
request = AsposeCellsCloud::PostWorksheetMergeRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startRow=>1,:startColumn=>1,:totalRows=>4,:totalColumns=>4,:folder=>remote_folder,:storageName=>'');
|
84
|
+
@instance.post_worksheet_merge(request);
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'post_worksheet_unmerge test' do
|
89
|
+
it "should work" do
|
90
|
+
remote_folder = 'TestData/In'
|
91
|
+
|
92
|
+
local_name = 'Book1.xlsx'
|
93
|
+
remote_name = 'Book1.xlsx'
|
94
|
+
|
95
|
+
|
96
|
+
mapFiles = { }
|
97
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
98
|
+
|
99
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
100
|
+
@instance.upload_file(uploadrequest)
|
101
|
+
request = AsposeCellsCloud::PostWorksheetUnmergeRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startRow=>1,:startColumn=>1,:totalRows=>4,:totalColumns=>4,:folder=>remote_folder,:storageName=>'');
|
102
|
+
@instance.post_worksheet_unmerge(request);
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'get_worksheet_cells test' do
|
107
|
+
it "should work" do
|
108
|
+
remote_folder = 'TestData/In'
|
109
|
+
|
110
|
+
local_name = 'Book1.xlsx'
|
111
|
+
remote_name = 'Book1.xlsx'
|
112
|
+
|
113
|
+
|
114
|
+
mapFiles = { }
|
115
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
116
|
+
|
117
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
118
|
+
@instance.upload_file(uploadrequest)
|
119
|
+
request = AsposeCellsCloud::GetWorksheetCellsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:offest=>1,:count=>10,:folder=>remote_folder,:storageName=>'');
|
120
|
+
@instance.get_worksheet_cells(request);
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
describe 'get_worksheet_cell test' do
|
125
|
+
it "should work" do
|
126
|
+
remote_folder = 'TestData/In'
|
127
|
+
|
128
|
+
local_name = 'Book1.xlsx'
|
129
|
+
remote_name = 'Book1.xlsx'
|
130
|
+
|
131
|
+
|
132
|
+
mapFiles = { }
|
133
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
134
|
+
|
135
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
136
|
+
@instance.upload_file(uploadrequest)
|
137
|
+
request = AsposeCellsCloud::GetWorksheetCellRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellOrMethodName=>'A1',:folder=>remote_folder,:storageName=>'');
|
138
|
+
@instance.get_worksheet_cell(request);
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'get_worksheet_cell_style test' do
|
143
|
+
it "should work" do
|
144
|
+
remote_folder = 'TestData/In'
|
145
|
+
|
146
|
+
local_name = 'Book1.xlsx'
|
147
|
+
remote_name = 'Book1.xlsx'
|
148
|
+
|
149
|
+
|
150
|
+
mapFiles = { }
|
151
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
152
|
+
|
153
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
154
|
+
@instance.upload_file(uploadrequest)
|
155
|
+
request = AsposeCellsCloud::GetWorksheetCellStyleRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'A1',:folder=>remote_folder,:storageName=>'');
|
156
|
+
@instance.get_worksheet_cell_style(request);
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
describe 'post_worksheet_cell_set_value test' do
|
161
|
+
it "should work" do
|
162
|
+
remote_folder = 'TestData/In'
|
163
|
+
|
164
|
+
local_name = 'Book1.xlsx'
|
165
|
+
remote_name = 'Book1.xlsx'
|
166
|
+
|
167
|
+
|
168
|
+
mapFiles = { }
|
169
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
170
|
+
|
171
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
172
|
+
@instance.upload_file(uploadrequest)
|
173
|
+
request = AsposeCellsCloud::PostWorksheetCellSetValueRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'A1',:value=>'1',:type=>'int',:folder=>remote_folder,:storageName=>'');
|
174
|
+
@instance.post_worksheet_cell_set_value(request);
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
describe 'post_update_worksheet_cell_style test' do
|
179
|
+
it "should work" do
|
180
|
+
remote_folder = 'TestData/In'
|
181
|
+
|
182
|
+
local_name = 'Book1.xlsx'
|
183
|
+
remote_name = 'Book1.xlsx'
|
184
|
+
|
185
|
+
|
186
|
+
mapFiles = { }
|
187
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
188
|
+
|
189
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
190
|
+
@instance.upload_file(uploadrequest)
|
191
|
+
styleFont = AsposeCellsCloud::Font.new(:Size=>16 );
|
192
|
+
style = AsposeCellsCloud::Style.new(:Font=>styleFont );
|
193
|
+
request = AsposeCellsCloud::PostUpdateWorksheetCellStyleRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'A1',:style=>style,:folder=>remote_folder,:storageName=>'');
|
194
|
+
@instance.post_update_worksheet_cell_style(request);
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
describe 'post_set_cell_range_value test' do
|
199
|
+
it "should work" do
|
200
|
+
remote_folder = 'TestData/In'
|
201
|
+
|
202
|
+
local_name = 'Book1.xlsx'
|
203
|
+
remote_name = 'Book1.xlsx'
|
204
|
+
|
205
|
+
|
206
|
+
mapFiles = { }
|
207
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
208
|
+
|
209
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
210
|
+
@instance.upload_file(uploadrequest)
|
211
|
+
request = AsposeCellsCloud::PostSetCellRangeValueRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellarea=>'A1:C10',:value=>'Test',:type=>'string',:folder=>remote_folder,:storageName=>'');
|
212
|
+
@instance.post_set_cell_range_value(request);
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
describe 'post_copy_cell_into_cell test' do
|
217
|
+
it "should work" do
|
218
|
+
remote_folder = 'TestData/In'
|
219
|
+
|
220
|
+
local_name = 'Book1.xlsx'
|
221
|
+
remote_name = 'Book1.xlsx'
|
222
|
+
|
223
|
+
|
224
|
+
mapFiles = { }
|
225
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
226
|
+
|
227
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
228
|
+
@instance.upload_file(uploadrequest)
|
229
|
+
request = AsposeCellsCloud::PostCopyCellIntoCellRequest.new(:name=>remote_name,:destCellName=>'C1',:sheetName=>'Sheet1',:worksheet=>'Sheet2',:cellname=>'A1',:row=>1,:column=>1,:folder=>remote_folder,:storageName=>'');
|
230
|
+
@instance.post_copy_cell_into_cell(request);
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
describe 'get_cell_html_string test' do
|
235
|
+
it "should work" do
|
236
|
+
remote_folder = 'TestData/In'
|
237
|
+
|
238
|
+
local_name = 'Book1.xlsx'
|
239
|
+
remote_name = 'Book1.xlsx'
|
240
|
+
|
241
|
+
|
242
|
+
mapFiles = { }
|
243
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
244
|
+
|
245
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
246
|
+
@instance.upload_file(uploadrequest)
|
247
|
+
request = AsposeCellsCloud::GetCellHtmlStringRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'A1',:folder=>remote_folder,:storageName=>'');
|
248
|
+
@instance.get_cell_html_string(request);
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
describe 'post_set_cell_html_string test' do
|
253
|
+
it "should work" do
|
254
|
+
remote_folder = 'TestData/In'
|
255
|
+
|
256
|
+
local_name = 'Book1.xlsx'
|
257
|
+
remote_name = 'Book1.xlsx'
|
258
|
+
|
259
|
+
|
260
|
+
mapFiles = { }
|
261
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
262
|
+
|
263
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
264
|
+
@instance.upload_file(uploadrequest)
|
265
|
+
request = AsposeCellsCloud::PostSetCellHtmlStringRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'A1',:folder=>remote_folder,:storageName=>'');
|
266
|
+
@instance.post_set_cell_html_string(request);
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
describe 'post_cell_calculate test' do
|
271
|
+
it "should work" do
|
272
|
+
remote_folder = 'TestData/In'
|
273
|
+
|
274
|
+
local_name = 'Book1.xlsx'
|
275
|
+
remote_name = 'Book1.xlsx'
|
276
|
+
|
277
|
+
|
278
|
+
mapFiles = { }
|
279
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
280
|
+
|
281
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
282
|
+
@instance.upload_file(uploadrequest)
|
283
|
+
options = AsposeCellsCloud::CalculationOptions.new(:Recursive=>true ,:IgnoreError=>true );
|
284
|
+
request = AsposeCellsCloud::PostCellCalculateRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'A1',:options=>options,:folder=>remote_folder,:storageName=>'');
|
285
|
+
@instance.post_cell_calculate(request);
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
describe 'post_cell_characters test' do
|
290
|
+
it "should work" do
|
291
|
+
remote_folder = 'TestData/In'
|
292
|
+
|
293
|
+
local_name = 'Book1.xlsx'
|
294
|
+
remote_name = 'Book1.xlsx'
|
295
|
+
|
296
|
+
|
297
|
+
mapFiles = { }
|
298
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
299
|
+
|
300
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
301
|
+
@instance.upload_file(uploadrequest)
|
302
|
+
optionsvalue0Font = AsposeCellsCloud::Font.new(:IsBold=>true ,:Size=>16 );
|
303
|
+
optionsvalue0 = AsposeCellsCloud::FontSetting.new(:Length=>5 ,:StartIndex=>0 ,:Font=>optionsvalue0Font );
|
304
|
+
options = [
|
305
|
+
optionsvalue0
|
306
|
+
];
|
307
|
+
request = AsposeCellsCloud::PostCellCharactersRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:cellName=>'E36',:options=>options,:folder=>remote_folder,:storageName=>'');
|
308
|
+
@instance.post_cell_characters(request);
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
describe 'get_worksheet_columns test' do
|
313
|
+
it "should work" do
|
314
|
+
remote_folder = 'TestData/In'
|
315
|
+
|
316
|
+
local_name = 'Book1.xlsx'
|
317
|
+
remote_name = 'Book1.xlsx'
|
318
|
+
|
319
|
+
|
320
|
+
mapFiles = { }
|
321
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
322
|
+
|
323
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
324
|
+
@instance.upload_file(uploadrequest)
|
325
|
+
request = AsposeCellsCloud::GetWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:offset=>1,:count=>10,:folder=>remote_folder,:storageName=>'');
|
326
|
+
@instance.get_worksheet_columns(request);
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
describe 'post_set_worksheet_column_width test' do
|
331
|
+
it "should work" do
|
332
|
+
remote_folder = 'TestData/In'
|
333
|
+
|
334
|
+
local_name = 'Book1.xlsx'
|
335
|
+
remote_name = 'Book1.xlsx'
|
336
|
+
|
337
|
+
|
338
|
+
mapFiles = { }
|
339
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
340
|
+
|
341
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
342
|
+
@instance.upload_file(uploadrequest)
|
343
|
+
request = AsposeCellsCloud::PostSetWorksheetColumnWidthRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:columnIndex=>1,:width=>10.9,:count=>10,:folder=>remote_folder,:storageName=>'');
|
344
|
+
@instance.post_set_worksheet_column_width(request);
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
describe 'get_worksheet_column test' do
|
349
|
+
it "should work" do
|
350
|
+
remote_folder = 'TestData/In'
|
351
|
+
|
352
|
+
local_name = 'Book1.xlsx'
|
353
|
+
remote_name = 'Book1.xlsx'
|
354
|
+
|
355
|
+
|
356
|
+
mapFiles = { }
|
357
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
358
|
+
|
359
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
360
|
+
@instance.upload_file(uploadrequest)
|
361
|
+
request = AsposeCellsCloud::GetWorksheetColumnRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:columnIndex=>1,:folder=>remote_folder,:storageName=>'');
|
362
|
+
@instance.get_worksheet_column(request);
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
describe 'put_insert_worksheet_columns test' do
|
367
|
+
it "should work" do
|
368
|
+
remote_folder = 'TestData/In'
|
369
|
+
|
370
|
+
local_name = 'Book1.xlsx'
|
371
|
+
remote_name = 'Book1.xlsx'
|
372
|
+
|
373
|
+
|
374
|
+
mapFiles = { }
|
375
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
376
|
+
|
377
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
378
|
+
@instance.upload_file(uploadrequest)
|
379
|
+
request = AsposeCellsCloud::PutInsertWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:columnIndex=>1,:columns=>10,:updateReference=>true,:folder=>remote_folder,:storageName=>'');
|
380
|
+
@instance.put_insert_worksheet_columns(request);
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
384
|
+
describe 'delete_worksheet_columns test' do
|
385
|
+
it "should work" do
|
386
|
+
remote_folder = 'TestData/In'
|
387
|
+
|
388
|
+
local_name = 'Book1.xlsx'
|
389
|
+
remote_name = 'Book1.xlsx'
|
390
|
+
|
391
|
+
|
392
|
+
mapFiles = { }
|
393
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
394
|
+
|
395
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
396
|
+
@instance.upload_file(uploadrequest)
|
397
|
+
request = AsposeCellsCloud::DeleteWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:columnIndex=>1,:columns=>10,:updateReference=>true,:folder=>remote_folder,:storageName=>'');
|
398
|
+
@instance.delete_worksheet_columns(request);
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
describe 'post_hide_worksheet_columns test' do
|
403
|
+
it "should work" do
|
404
|
+
remote_folder = 'TestData/In'
|
405
|
+
|
406
|
+
local_name = 'Book1.xlsx'
|
407
|
+
remote_name = 'Book1.xlsx'
|
408
|
+
|
409
|
+
|
410
|
+
mapFiles = { }
|
411
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
412
|
+
|
413
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
414
|
+
@instance.upload_file(uploadrequest)
|
415
|
+
request = AsposeCellsCloud::PostHideWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startColumn=>1,:totalColumns=>10,:folder=>remote_folder,:storageName=>'');
|
416
|
+
@instance.post_hide_worksheet_columns(request);
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
describe 'post_unhide_worksheet_columns test' do
|
421
|
+
it "should work" do
|
422
|
+
remote_folder = 'TestData/In'
|
423
|
+
|
424
|
+
local_name = 'Book1.xlsx'
|
425
|
+
remote_name = 'Book1.xlsx'
|
426
|
+
|
427
|
+
|
428
|
+
mapFiles = { }
|
429
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
430
|
+
|
431
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
432
|
+
@instance.upload_file(uploadrequest)
|
433
|
+
request = AsposeCellsCloud::PostUnhideWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startColumn=>1,:totalColumns=>10,:width=>10.9,:folder=>remote_folder,:storageName=>'');
|
434
|
+
@instance.post_unhide_worksheet_columns(request);
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
describe 'post_group_worksheet_columns test' do
|
439
|
+
it "should work" do
|
440
|
+
remote_folder = 'TestData/In'
|
441
|
+
|
442
|
+
local_name = 'Book1.xlsx'
|
443
|
+
remote_name = 'Book1.xlsx'
|
444
|
+
|
445
|
+
|
446
|
+
mapFiles = { }
|
447
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
448
|
+
|
449
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
450
|
+
@instance.upload_file(uploadrequest)
|
451
|
+
request = AsposeCellsCloud::PostGroupWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:firstIndex=>1,:lastIndex=>9,:hide=>true,:folder=>remote_folder,:storageName=>'');
|
452
|
+
@instance.post_group_worksheet_columns(request);
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
describe 'post_ungroup_worksheet_columns test' do
|
457
|
+
it "should work" do
|
458
|
+
remote_folder = 'TestData/In'
|
459
|
+
|
460
|
+
local_name = 'Book1.xlsx'
|
461
|
+
remote_name = 'Book1.xlsx'
|
462
|
+
|
463
|
+
|
464
|
+
mapFiles = { }
|
465
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
466
|
+
|
467
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
468
|
+
@instance.upload_file(uploadrequest)
|
469
|
+
request = AsposeCellsCloud::PostUngroupWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:firstIndex=>1,:lastIndex=>9,:folder=>remote_folder,:storageName=>'');
|
470
|
+
@instance.post_ungroup_worksheet_columns(request);
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
474
|
+
describe 'post_copy_worksheet_columns test' do
|
475
|
+
it "should work" do
|
476
|
+
remote_folder = 'TestData/In'
|
477
|
+
|
478
|
+
local_name = 'Book1.xlsx'
|
479
|
+
remote_name = 'Book1.xlsx'
|
480
|
+
|
481
|
+
|
482
|
+
mapFiles = { }
|
483
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
484
|
+
|
485
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
486
|
+
@instance.upload_file(uploadrequest)
|
487
|
+
request = AsposeCellsCloud::PostCopyWorksheetColumnsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:sourceColumnIndex=>1,:destinationColumnIndex=>19,:columnNumber=>8,:worksheet=>'Sheet2',:folder=>remote_folder,:storageName=>'');
|
488
|
+
@instance.post_copy_worksheet_columns(request);
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
describe 'post_column_style test' do
|
493
|
+
it "should work" do
|
494
|
+
remote_folder = 'TestData/In'
|
495
|
+
|
496
|
+
local_name = 'Book1.xlsx'
|
497
|
+
remote_name = 'Book1.xlsx'
|
498
|
+
|
499
|
+
|
500
|
+
mapFiles = { }
|
501
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
502
|
+
|
503
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
504
|
+
@instance.upload_file(uploadrequest)
|
505
|
+
styleFont = AsposeCellsCloud::Font.new(:Size=>16 );
|
506
|
+
style = AsposeCellsCloud::Style.new(:Font=>styleFont );
|
507
|
+
request = AsposeCellsCloud::PostColumnStyleRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:columnIndex=>1,:style=>style,:folder=>remote_folder,:storageName=>'');
|
508
|
+
@instance.post_column_style(request);
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
describe 'get_worksheet_rows test' do
|
513
|
+
it "should work" do
|
514
|
+
remote_folder = 'TestData/In'
|
515
|
+
|
516
|
+
local_name = 'Book1.xlsx'
|
517
|
+
remote_name = 'Book1.xlsx'
|
518
|
+
|
519
|
+
|
520
|
+
mapFiles = { }
|
521
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
522
|
+
|
523
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
524
|
+
@instance.upload_file(uploadrequest)
|
525
|
+
request = AsposeCellsCloud::GetWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:offset=>1,:count=>10,:folder=>remote_folder,:storageName=>'');
|
526
|
+
@instance.get_worksheet_rows(request);
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
describe 'get_worksheet_row test' do
|
531
|
+
it "should work" do
|
532
|
+
remote_folder = 'TestData/In'
|
533
|
+
|
534
|
+
local_name = 'Book1.xlsx'
|
535
|
+
remote_name = 'Book1.xlsx'
|
536
|
+
|
537
|
+
|
538
|
+
mapFiles = { }
|
539
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
540
|
+
|
541
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
542
|
+
@instance.upload_file(uploadrequest)
|
543
|
+
request = AsposeCellsCloud::GetWorksheetRowRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:rowIndex=>1,:folder=>remote_folder,:storageName=>'');
|
544
|
+
@instance.get_worksheet_row(request);
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
describe 'delete_worksheet_row test' do
|
549
|
+
it "should work" do
|
550
|
+
remote_folder = 'TestData/In'
|
551
|
+
|
552
|
+
local_name = 'Book1.xlsx'
|
553
|
+
remote_name = 'Book1.xlsx'
|
554
|
+
|
555
|
+
|
556
|
+
mapFiles = { }
|
557
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
558
|
+
|
559
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
560
|
+
@instance.upload_file(uploadrequest)
|
561
|
+
request = AsposeCellsCloud::DeleteWorksheetRowRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:rowIndex=>1,:folder=>remote_folder,:storageName=>'');
|
562
|
+
@instance.delete_worksheet_row(request);
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
describe 'delete_worksheet_rows test' do
|
567
|
+
it "should work" do
|
568
|
+
remote_folder = 'TestData/In'
|
569
|
+
|
570
|
+
local_name = 'Book1.xlsx'
|
571
|
+
remote_name = 'Book1.xlsx'
|
572
|
+
|
573
|
+
|
574
|
+
mapFiles = { }
|
575
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
576
|
+
|
577
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
578
|
+
@instance.upload_file(uploadrequest)
|
579
|
+
request = AsposeCellsCloud::DeleteWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startrow=>1,:totalRows=>10,:updateReference=>true,:folder=>remote_folder,:storageName=>'');
|
580
|
+
@instance.delete_worksheet_rows(request);
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
describe 'put_insert_worksheet_rows test' do
|
585
|
+
it "should work" do
|
586
|
+
remote_folder = 'TestData/In'
|
587
|
+
|
588
|
+
local_name = 'Book1.xlsx'
|
589
|
+
remote_name = 'Book1.xlsx'
|
590
|
+
|
591
|
+
|
592
|
+
mapFiles = { }
|
593
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
594
|
+
|
595
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
596
|
+
@instance.upload_file(uploadrequest)
|
597
|
+
request = AsposeCellsCloud::PutInsertWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startrow=>1,:totalRows=>10,:updateReference=>true,:folder=>remote_folder,:storageName=>'');
|
598
|
+
@instance.put_insert_worksheet_rows(request);
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
describe 'put_insert_worksheet_row test' do
|
603
|
+
it "should work" do
|
604
|
+
remote_folder = 'TestData/In'
|
605
|
+
|
606
|
+
local_name = 'Book1.xlsx'
|
607
|
+
remote_name = 'Book1.xlsx'
|
608
|
+
|
609
|
+
|
610
|
+
mapFiles = { }
|
611
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
612
|
+
|
613
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
614
|
+
@instance.upload_file(uploadrequest)
|
615
|
+
request = AsposeCellsCloud::PutInsertWorksheetRowRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:rowIndex=>1,:folder=>remote_folder,:storageName=>'');
|
616
|
+
@instance.put_insert_worksheet_row(request);
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
describe 'post_update_worksheet_row test' do
|
621
|
+
it "should work" do
|
622
|
+
remote_folder = 'TestData/In'
|
623
|
+
|
624
|
+
local_name = 'Book1.xlsx'
|
625
|
+
remote_name = 'Book1.xlsx'
|
626
|
+
|
627
|
+
|
628
|
+
mapFiles = { }
|
629
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
630
|
+
|
631
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
632
|
+
@instance.upload_file(uploadrequest)
|
633
|
+
request = AsposeCellsCloud::PostUpdateWorksheetRowRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:rowIndex=>1,:height=>10.8,:count=>9,:folder=>remote_folder,:storageName=>'');
|
634
|
+
@instance.post_update_worksheet_row(request);
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
describe 'post_hide_worksheet_rows test' do
|
639
|
+
it "should work" do
|
640
|
+
remote_folder = 'TestData/In'
|
641
|
+
|
642
|
+
local_name = 'Book1.xlsx'
|
643
|
+
remote_name = 'Book1.xlsx'
|
644
|
+
|
645
|
+
|
646
|
+
mapFiles = { }
|
647
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
648
|
+
|
649
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
650
|
+
@instance.upload_file(uploadrequest)
|
651
|
+
request = AsposeCellsCloud::PostHideWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startrow=>1,:totalRows=>6,:folder=>remote_folder,:storageName=>'');
|
652
|
+
@instance.post_hide_worksheet_rows(request);
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
describe 'post_unhide_worksheet_rows test' do
|
657
|
+
it "should work" do
|
658
|
+
remote_folder = 'TestData/In'
|
659
|
+
|
660
|
+
local_name = 'Book1.xlsx'
|
661
|
+
remote_name = 'Book1.xlsx'
|
662
|
+
|
663
|
+
|
664
|
+
mapFiles = { }
|
665
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
666
|
+
|
667
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
668
|
+
@instance.upload_file(uploadrequest)
|
669
|
+
request = AsposeCellsCloud::PostUnhideWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:startrow=>1,:totalRows=>8,:height=>10.9,:folder=>remote_folder,:storageName=>'');
|
670
|
+
@instance.post_unhide_worksheet_rows(request);
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
describe 'post_group_worksheet_rows test' do
|
675
|
+
it "should work" do
|
676
|
+
remote_folder = 'TestData/In'
|
677
|
+
|
678
|
+
local_name = 'Book1.xlsx'
|
679
|
+
remote_name = 'Book1.xlsx'
|
680
|
+
|
681
|
+
|
682
|
+
mapFiles = { }
|
683
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
684
|
+
|
685
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
686
|
+
@instance.upload_file(uploadrequest)
|
687
|
+
request = AsposeCellsCloud::PostGroupWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:firstIndex=>1,:lastIndex=>9,:hide=>true,:folder=>remote_folder,:storageName=>'');
|
688
|
+
@instance.post_group_worksheet_rows(request);
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
describe 'post_ungroup_worksheet_rows test' do
|
693
|
+
it "should work" do
|
694
|
+
remote_folder = 'TestData/In'
|
695
|
+
|
696
|
+
local_name = 'Book1.xlsx'
|
697
|
+
remote_name = 'Book1.xlsx'
|
698
|
+
|
699
|
+
|
700
|
+
mapFiles = { }
|
701
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
702
|
+
|
703
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
704
|
+
@instance.upload_file(uploadrequest)
|
705
|
+
request = AsposeCellsCloud::PostUngroupWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:firstIndex=>1,:lastIndex=>9,:isAll=>true,:folder=>remote_folder,:storageName=>'');
|
706
|
+
@instance.post_ungroup_worksheet_rows(request);
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
describe 'post_copy_worksheet_rows test' do
|
711
|
+
it "should work" do
|
712
|
+
remote_folder = 'TestData/In'
|
713
|
+
|
714
|
+
local_name = 'Book1.xlsx'
|
715
|
+
remote_name = 'Book1.xlsx'
|
716
|
+
|
717
|
+
|
718
|
+
mapFiles = { }
|
719
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
720
|
+
|
721
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
722
|
+
@instance.upload_file(uploadrequest)
|
723
|
+
request = AsposeCellsCloud::PostCopyWorksheetRowsRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:sourceRowIndex=>1,:destinationRowIndex=>12,:rowNumber=>5,:worksheet=>'Sheet2',:folder=>remote_folder,:storageName=>'');
|
724
|
+
@instance.post_copy_worksheet_rows(request);
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
describe 'post_row_style test' do
|
729
|
+
it "should work" do
|
730
|
+
remote_folder = 'TestData/In'
|
731
|
+
|
732
|
+
local_name = 'Book1.xlsx'
|
733
|
+
remote_name = 'Book1.xlsx'
|
734
|
+
|
735
|
+
|
736
|
+
mapFiles = { }
|
737
|
+
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
738
|
+
|
739
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
740
|
+
@instance.upload_file(uploadrequest)
|
741
|
+
styleFont = AsposeCellsCloud::Font.new(:Size=>16 );
|
742
|
+
style = AsposeCellsCloud::Style.new(:Font=>styleFont );
|
743
|
+
request = AsposeCellsCloud::PostRowStyleRequest.new(:name=>remote_name,:sheetName=>'Sheet1',:rowIndex=>1,:style=>style,:folder=>remote_folder,:storageName=>'');
|
744
|
+
@instance.post_row_style(request);
|
745
|
+
end
|
746
|
+
end
|
747
|
+
end
|