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,3562 @@
|
|
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_split_csv test' do
|
15
|
+
it "should work" do
|
16
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
17
|
+
data_source_xlsx = 'datasource.xlsx'
|
18
|
+
|
19
|
+
format = "csv"
|
20
|
+
|
21
|
+
|
22
|
+
mapFiles = { }
|
23
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
24
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
25
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
26
|
+
@instance.post_split(request);
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'post_split_xls test' do
|
31
|
+
it "should work" do
|
32
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
33
|
+
data_source_xlsx = 'datasource.xlsx'
|
34
|
+
|
35
|
+
format = "xls"
|
36
|
+
|
37
|
+
|
38
|
+
mapFiles = { }
|
39
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
40
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
41
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
42
|
+
@instance.post_split(request);
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'post_split_html test' do
|
47
|
+
it "should work" do
|
48
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
49
|
+
data_source_xlsx = 'datasource.xlsx'
|
50
|
+
|
51
|
+
format = "html"
|
52
|
+
|
53
|
+
|
54
|
+
mapFiles = { }
|
55
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
56
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
57
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
58
|
+
@instance.post_split(request);
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'post_split_mhtml test' do
|
63
|
+
it "should work" do
|
64
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
65
|
+
data_source_xlsx = 'datasource.xlsx'
|
66
|
+
|
67
|
+
format = "mhtml"
|
68
|
+
|
69
|
+
|
70
|
+
mapFiles = { }
|
71
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
72
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
73
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
74
|
+
@instance.post_split(request);
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'post_split_ods test' do
|
79
|
+
it "should work" do
|
80
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
81
|
+
data_source_xlsx = 'datasource.xlsx'
|
82
|
+
|
83
|
+
format = "ods"
|
84
|
+
|
85
|
+
|
86
|
+
mapFiles = { }
|
87
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
88
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
89
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
90
|
+
@instance.post_split(request);
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'post_split_pdf test' do
|
95
|
+
it "should work" do
|
96
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
97
|
+
data_source_xlsx = 'datasource.xlsx'
|
98
|
+
|
99
|
+
format = "pdf"
|
100
|
+
|
101
|
+
|
102
|
+
mapFiles = { }
|
103
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
104
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
105
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
106
|
+
@instance.post_split(request);
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
describe 'post_split_xml test' do
|
111
|
+
it "should work" do
|
112
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
113
|
+
data_source_xlsx = 'datasource.xlsx'
|
114
|
+
|
115
|
+
format = "xml"
|
116
|
+
|
117
|
+
|
118
|
+
mapFiles = { }
|
119
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
120
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
121
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
122
|
+
@instance.post_split(request);
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
describe 'post_split_txt test' do
|
127
|
+
it "should work" do
|
128
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
129
|
+
data_source_xlsx = 'datasource.xlsx'
|
130
|
+
|
131
|
+
format = "txt"
|
132
|
+
|
133
|
+
|
134
|
+
mapFiles = { }
|
135
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
136
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
137
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
138
|
+
@instance.post_split(request);
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'post_split_tif test' do
|
143
|
+
it "should work" do
|
144
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
145
|
+
data_source_xlsx = 'datasource.xlsx'
|
146
|
+
|
147
|
+
format = "tif"
|
148
|
+
|
149
|
+
|
150
|
+
mapFiles = { }
|
151
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
152
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
153
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
154
|
+
@instance.post_split(request);
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
describe 'post_split_xlsb test' do
|
159
|
+
it "should work" do
|
160
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
161
|
+
data_source_xlsx = 'datasource.xlsx'
|
162
|
+
|
163
|
+
format = "xlsb"
|
164
|
+
|
165
|
+
|
166
|
+
mapFiles = { }
|
167
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
168
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
169
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
170
|
+
@instance.post_split(request);
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
describe 'post_split_xlsm test' do
|
175
|
+
it "should work" do
|
176
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
177
|
+
data_source_xlsx = 'datasource.xlsx'
|
178
|
+
|
179
|
+
format = "xlsm"
|
180
|
+
|
181
|
+
|
182
|
+
mapFiles = { }
|
183
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
184
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
185
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
186
|
+
@instance.post_split(request);
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
describe 'post_split_xlsx test' do
|
191
|
+
it "should work" do
|
192
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
193
|
+
data_source_xlsx = 'datasource.xlsx'
|
194
|
+
|
195
|
+
format = "xlsx"
|
196
|
+
|
197
|
+
|
198
|
+
mapFiles = { }
|
199
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
200
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
201
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
202
|
+
@instance.post_split(request);
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
describe 'post_split_xltm test' do
|
207
|
+
it "should work" do
|
208
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
209
|
+
data_source_xlsx = 'datasource.xlsx'
|
210
|
+
|
211
|
+
format = "xltm"
|
212
|
+
|
213
|
+
|
214
|
+
mapFiles = { }
|
215
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
216
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
217
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
218
|
+
@instance.post_split(request);
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
describe 'post_split_xltx test' do
|
223
|
+
it "should work" do
|
224
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
225
|
+
data_source_xlsx = 'datasource.xlsx'
|
226
|
+
|
227
|
+
format = "xltx"
|
228
|
+
|
229
|
+
|
230
|
+
mapFiles = { }
|
231
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
232
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
233
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
234
|
+
@instance.post_split(request);
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
describe 'post_split_xps test' do
|
239
|
+
it "should work" do
|
240
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
241
|
+
data_source_xlsx = 'datasource.xlsx'
|
242
|
+
|
243
|
+
format = "xps"
|
244
|
+
|
245
|
+
|
246
|
+
mapFiles = { }
|
247
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
248
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
249
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
250
|
+
@instance.post_split(request);
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
describe 'post_split_png test' do
|
255
|
+
it "should work" do
|
256
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
257
|
+
data_source_xlsx = 'datasource.xlsx'
|
258
|
+
|
259
|
+
format = "png"
|
260
|
+
|
261
|
+
|
262
|
+
mapFiles = { }
|
263
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
264
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
265
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
266
|
+
@instance.post_split(request);
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
describe 'post_split_jpg test' do
|
271
|
+
it "should work" do
|
272
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
273
|
+
data_source_xlsx = 'datasource.xlsx'
|
274
|
+
|
275
|
+
format = "jpg"
|
276
|
+
|
277
|
+
|
278
|
+
mapFiles = { }
|
279
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
280
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
281
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
282
|
+
@instance.post_split(request);
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
describe 'post_split_gif test' do
|
287
|
+
it "should work" do
|
288
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
289
|
+
data_source_xlsx = 'datasource.xlsx'
|
290
|
+
|
291
|
+
format = "gif"
|
292
|
+
|
293
|
+
|
294
|
+
mapFiles = { }
|
295
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
296
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
297
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
298
|
+
@instance.post_split(request);
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
describe 'post_split_emf test' do
|
303
|
+
it "should work" do
|
304
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
305
|
+
data_source_xlsx = 'datasource.xlsx'
|
306
|
+
|
307
|
+
format = "emf"
|
308
|
+
|
309
|
+
|
310
|
+
mapFiles = { }
|
311
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
312
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
313
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
314
|
+
@instance.post_split(request);
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
describe 'post_split_bmp test' do
|
319
|
+
it "should work" do
|
320
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
321
|
+
data_source_xlsx = 'datasource.xlsx'
|
322
|
+
|
323
|
+
format = "bmp"
|
324
|
+
|
325
|
+
|
326
|
+
mapFiles = { }
|
327
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
328
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
329
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
330
|
+
@instance.post_split(request);
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
describe 'post_split_md test' do
|
335
|
+
it "should work" do
|
336
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
337
|
+
data_source_xlsx = 'datasource.xlsx'
|
338
|
+
|
339
|
+
format = "md"
|
340
|
+
|
341
|
+
|
342
|
+
mapFiles = { }
|
343
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
344
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
345
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
346
|
+
@instance.post_split(request);
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
describe 'post_split_numbers test' do
|
351
|
+
it "should work" do
|
352
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
353
|
+
data_source_xlsx = 'datasource.xlsx'
|
354
|
+
|
355
|
+
format = "numbers"
|
356
|
+
|
357
|
+
|
358
|
+
mapFiles = { }
|
359
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
360
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
361
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
362
|
+
@instance.post_split(request);
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
describe 'post_split_wmf test' do
|
367
|
+
it "should work" do
|
368
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
369
|
+
data_source_xlsx = 'datasource.xlsx'
|
370
|
+
|
371
|
+
format = "wmf"
|
372
|
+
|
373
|
+
|
374
|
+
mapFiles = { }
|
375
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
376
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
377
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
378
|
+
@instance.post_split(request);
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
describe 'post_split_svg test' do
|
383
|
+
it "should work" do
|
384
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
385
|
+
data_source_xlsx = 'datasource.xlsx'
|
386
|
+
|
387
|
+
format = "svg"
|
388
|
+
|
389
|
+
|
390
|
+
mapFiles = { }
|
391
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
392
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
393
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
394
|
+
@instance.post_split(request);
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
describe 'post_split_docx test' do
|
399
|
+
it "should work" do
|
400
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
401
|
+
data_source_xlsx = 'datasource.xlsx'
|
402
|
+
|
403
|
+
format = "docx"
|
404
|
+
|
405
|
+
|
406
|
+
mapFiles = { }
|
407
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
408
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
409
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
410
|
+
@instance.post_split(request);
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
describe 'post_split_pptx test' do
|
415
|
+
it "should work" do
|
416
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
417
|
+
data_source_xlsx = 'datasource.xlsx'
|
418
|
+
|
419
|
+
format = "pptx"
|
420
|
+
|
421
|
+
|
422
|
+
mapFiles = { }
|
423
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
424
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
425
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
426
|
+
@instance.post_split(request);
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
describe 'post_split_json test' do
|
431
|
+
it "should work" do
|
432
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
433
|
+
data_source_xlsx = 'datasource.xlsx'
|
434
|
+
|
435
|
+
format = "json"
|
436
|
+
|
437
|
+
|
438
|
+
mapFiles = { }
|
439
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
440
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
441
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
442
|
+
@instance.post_split(request);
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
describe 'post_split_sql test' do
|
447
|
+
it "should work" do
|
448
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
449
|
+
data_source_xlsx = 'datasource.xlsx'
|
450
|
+
|
451
|
+
format = "sql"
|
452
|
+
|
453
|
+
|
454
|
+
mapFiles = { }
|
455
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
456
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
457
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
458
|
+
@instance.post_split(request);
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
describe 'post_assemble_csv test' do
|
463
|
+
it "should work" do
|
464
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
465
|
+
data_source_xlsx = 'datasource.xlsx'
|
466
|
+
|
467
|
+
format = "csv"
|
468
|
+
|
469
|
+
|
470
|
+
mapFiles = { }
|
471
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
472
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
473
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
474
|
+
@instance.post_assemble(request);
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
describe 'post_assemble_xls test' do
|
479
|
+
it "should work" do
|
480
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
481
|
+
data_source_xlsx = 'datasource.xlsx'
|
482
|
+
|
483
|
+
format = "xls"
|
484
|
+
|
485
|
+
|
486
|
+
mapFiles = { }
|
487
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
488
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
489
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
490
|
+
@instance.post_assemble(request);
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
describe 'post_assemble_html test' do
|
495
|
+
it "should work" do
|
496
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
497
|
+
data_source_xlsx = 'datasource.xlsx'
|
498
|
+
|
499
|
+
format = "html"
|
500
|
+
|
501
|
+
|
502
|
+
mapFiles = { }
|
503
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
504
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
505
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
506
|
+
@instance.post_assemble(request);
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
describe 'post_assemble_mhtml test' do
|
511
|
+
it "should work" do
|
512
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
513
|
+
data_source_xlsx = 'datasource.xlsx'
|
514
|
+
|
515
|
+
format = "mhtml"
|
516
|
+
|
517
|
+
|
518
|
+
mapFiles = { }
|
519
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
520
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
521
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
522
|
+
@instance.post_assemble(request);
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
describe 'post_assemble_ods test' do
|
527
|
+
it "should work" do
|
528
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
529
|
+
data_source_xlsx = 'datasource.xlsx'
|
530
|
+
|
531
|
+
format = "ods"
|
532
|
+
|
533
|
+
|
534
|
+
mapFiles = { }
|
535
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
536
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
537
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
538
|
+
@instance.post_assemble(request);
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
describe 'post_assemble_pdf test' do
|
543
|
+
it "should work" do
|
544
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
545
|
+
data_source_xlsx = 'datasource.xlsx'
|
546
|
+
|
547
|
+
format = "pdf"
|
548
|
+
|
549
|
+
|
550
|
+
mapFiles = { }
|
551
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
552
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
553
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
554
|
+
@instance.post_assemble(request);
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
describe 'post_assemble_xml test' do
|
559
|
+
it "should work" do
|
560
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
561
|
+
data_source_xlsx = 'datasource.xlsx'
|
562
|
+
|
563
|
+
format = "xml"
|
564
|
+
|
565
|
+
|
566
|
+
mapFiles = { }
|
567
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
568
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
569
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
570
|
+
@instance.post_assemble(request);
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
describe 'post_assemble_txt test' do
|
575
|
+
it "should work" do
|
576
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
577
|
+
data_source_xlsx = 'datasource.xlsx'
|
578
|
+
|
579
|
+
format = "txt"
|
580
|
+
|
581
|
+
|
582
|
+
mapFiles = { }
|
583
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
584
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
585
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
586
|
+
@instance.post_assemble(request);
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
describe 'post_assemble_tif test' do
|
591
|
+
it "should work" do
|
592
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
593
|
+
data_source_xlsx = 'datasource.xlsx'
|
594
|
+
|
595
|
+
format = "tif"
|
596
|
+
|
597
|
+
|
598
|
+
mapFiles = { }
|
599
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
600
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
601
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
602
|
+
@instance.post_assemble(request);
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
describe 'post_assemble_xlsb test' do
|
607
|
+
it "should work" do
|
608
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
609
|
+
data_source_xlsx = 'datasource.xlsx'
|
610
|
+
|
611
|
+
format = "xlsb"
|
612
|
+
|
613
|
+
|
614
|
+
mapFiles = { }
|
615
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
616
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
617
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
618
|
+
@instance.post_assemble(request);
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
describe 'post_assemble_xlsm test' do
|
623
|
+
it "should work" do
|
624
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
625
|
+
data_source_xlsx = 'datasource.xlsx'
|
626
|
+
|
627
|
+
format = "xlsm"
|
628
|
+
|
629
|
+
|
630
|
+
mapFiles = { }
|
631
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
632
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
633
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
634
|
+
@instance.post_assemble(request);
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
describe 'post_assemble_xlsx test' do
|
639
|
+
it "should work" do
|
640
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
641
|
+
data_source_xlsx = 'datasource.xlsx'
|
642
|
+
|
643
|
+
format = "xlsx"
|
644
|
+
|
645
|
+
|
646
|
+
mapFiles = { }
|
647
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
648
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
649
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
650
|
+
@instance.post_assemble(request);
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
describe 'post_assemble_xltm test' do
|
655
|
+
it "should work" do
|
656
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
657
|
+
data_source_xlsx = 'datasource.xlsx'
|
658
|
+
|
659
|
+
format = "xltm"
|
660
|
+
|
661
|
+
|
662
|
+
mapFiles = { }
|
663
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
664
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
665
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
666
|
+
@instance.post_assemble(request);
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
describe 'post_assemble_xltx test' do
|
671
|
+
it "should work" do
|
672
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
673
|
+
data_source_xlsx = 'datasource.xlsx'
|
674
|
+
|
675
|
+
format = "xltx"
|
676
|
+
|
677
|
+
|
678
|
+
mapFiles = { }
|
679
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
680
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
681
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
682
|
+
@instance.post_assemble(request);
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
describe 'post_assemble_xps test' do
|
687
|
+
it "should work" do
|
688
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
689
|
+
data_source_xlsx = 'datasource.xlsx'
|
690
|
+
|
691
|
+
format = "xps"
|
692
|
+
|
693
|
+
|
694
|
+
mapFiles = { }
|
695
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
696
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
697
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
698
|
+
@instance.post_assemble(request);
|
699
|
+
end
|
700
|
+
end
|
701
|
+
|
702
|
+
describe 'post_assemble_png test' do
|
703
|
+
it "should work" do
|
704
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
705
|
+
data_source_xlsx = 'datasource.xlsx'
|
706
|
+
|
707
|
+
format = "png"
|
708
|
+
|
709
|
+
|
710
|
+
mapFiles = { }
|
711
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
712
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
713
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
714
|
+
@instance.post_assemble(request);
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
describe 'post_assemble_jpg test' do
|
719
|
+
it "should work" do
|
720
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
721
|
+
data_source_xlsx = 'datasource.xlsx'
|
722
|
+
|
723
|
+
format = "jpg"
|
724
|
+
|
725
|
+
|
726
|
+
mapFiles = { }
|
727
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
728
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
729
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
730
|
+
@instance.post_assemble(request);
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
734
|
+
describe 'post_assemble_gif test' do
|
735
|
+
it "should work" do
|
736
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
737
|
+
data_source_xlsx = 'datasource.xlsx'
|
738
|
+
|
739
|
+
format = "gif"
|
740
|
+
|
741
|
+
|
742
|
+
mapFiles = { }
|
743
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
744
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
745
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
746
|
+
@instance.post_assemble(request);
|
747
|
+
end
|
748
|
+
end
|
749
|
+
|
750
|
+
describe 'post_assemble_emf test' do
|
751
|
+
it "should work" do
|
752
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
753
|
+
data_source_xlsx = 'datasource.xlsx'
|
754
|
+
|
755
|
+
format = "emf"
|
756
|
+
|
757
|
+
|
758
|
+
mapFiles = { }
|
759
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
760
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
761
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
762
|
+
@instance.post_assemble(request);
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
describe 'post_assemble_bmp test' do
|
767
|
+
it "should work" do
|
768
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
769
|
+
data_source_xlsx = 'datasource.xlsx'
|
770
|
+
|
771
|
+
format = "bmp"
|
772
|
+
|
773
|
+
|
774
|
+
mapFiles = { }
|
775
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
776
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
777
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
778
|
+
@instance.post_assemble(request);
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
describe 'post_assemble_md test' do
|
783
|
+
it "should work" do
|
784
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
785
|
+
data_source_xlsx = 'datasource.xlsx'
|
786
|
+
|
787
|
+
format = "md"
|
788
|
+
|
789
|
+
|
790
|
+
mapFiles = { }
|
791
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
792
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
793
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
794
|
+
@instance.post_assemble(request);
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
798
|
+
describe 'post_assemble_numbers test' do
|
799
|
+
it "should work" do
|
800
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
801
|
+
data_source_xlsx = 'datasource.xlsx'
|
802
|
+
|
803
|
+
format = "numbers"
|
804
|
+
|
805
|
+
|
806
|
+
mapFiles = { }
|
807
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
808
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
809
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
810
|
+
@instance.post_assemble(request);
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
describe 'post_assemble_wmf test' do
|
815
|
+
it "should work" do
|
816
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
817
|
+
data_source_xlsx = 'datasource.xlsx'
|
818
|
+
|
819
|
+
format = "wmf"
|
820
|
+
|
821
|
+
|
822
|
+
mapFiles = { }
|
823
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
824
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
825
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
826
|
+
@instance.post_assemble(request);
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
describe 'post_assemble_svg test' do
|
831
|
+
it "should work" do
|
832
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
833
|
+
data_source_xlsx = 'datasource.xlsx'
|
834
|
+
|
835
|
+
format = "svg"
|
836
|
+
|
837
|
+
|
838
|
+
mapFiles = { }
|
839
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
840
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
841
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
842
|
+
@instance.post_assemble(request);
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
describe 'post_assemble_docx test' do
|
847
|
+
it "should work" do
|
848
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
849
|
+
data_source_xlsx = 'datasource.xlsx'
|
850
|
+
|
851
|
+
format = "docx"
|
852
|
+
|
853
|
+
|
854
|
+
mapFiles = { }
|
855
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
856
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
857
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
858
|
+
@instance.post_assemble(request);
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
862
|
+
describe 'post_assemble_pptx test' do
|
863
|
+
it "should work" do
|
864
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
865
|
+
data_source_xlsx = 'datasource.xlsx'
|
866
|
+
|
867
|
+
format = "pptx"
|
868
|
+
|
869
|
+
|
870
|
+
mapFiles = { }
|
871
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
872
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
873
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
874
|
+
@instance.post_assemble(request);
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
describe 'post_assemble_json test' do
|
879
|
+
it "should work" do
|
880
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
881
|
+
data_source_xlsx = 'datasource.xlsx'
|
882
|
+
|
883
|
+
format = "json"
|
884
|
+
|
885
|
+
|
886
|
+
mapFiles = { }
|
887
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
888
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
889
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
890
|
+
@instance.post_assemble(request);
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
894
|
+
describe 'post_assemble_sql test' do
|
895
|
+
it "should work" do
|
896
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
897
|
+
data_source_xlsx = 'datasource.xlsx'
|
898
|
+
|
899
|
+
format = "sql"
|
900
|
+
|
901
|
+
|
902
|
+
mapFiles = { }
|
903
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
904
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
905
|
+
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:format=>format);
|
906
|
+
@instance.post_assemble(request);
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
describe 'post_export_csv_workbook test' do
|
911
|
+
it "should work" do
|
912
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
913
|
+
book1_xlsx = 'Book1.xlsx'
|
914
|
+
|
915
|
+
format = "csv"
|
916
|
+
object_type = "workbook"
|
917
|
+
|
918
|
+
|
919
|
+
mapFiles = { }
|
920
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
921
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
922
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
923
|
+
@instance.post_export(request);
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
927
|
+
describe 'post_export_xls_workbook test' do
|
928
|
+
it "should work" do
|
929
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
930
|
+
book1_xlsx = 'Book1.xlsx'
|
931
|
+
|
932
|
+
format = "xls"
|
933
|
+
object_type = "workbook"
|
934
|
+
|
935
|
+
|
936
|
+
mapFiles = { }
|
937
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
938
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
939
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
940
|
+
@instance.post_export(request);
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
describe 'post_export_html_workbook test' do
|
945
|
+
it "should work" do
|
946
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
947
|
+
book1_xlsx = 'Book1.xlsx'
|
948
|
+
|
949
|
+
format = "html"
|
950
|
+
object_type = "workbook"
|
951
|
+
|
952
|
+
|
953
|
+
mapFiles = { }
|
954
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
955
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
956
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
957
|
+
@instance.post_export(request);
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
961
|
+
describe 'post_export_mhtml_workbook test' do
|
962
|
+
it "should work" do
|
963
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
964
|
+
book1_xlsx = 'Book1.xlsx'
|
965
|
+
|
966
|
+
format = "mhtml"
|
967
|
+
object_type = "workbook"
|
968
|
+
|
969
|
+
|
970
|
+
mapFiles = { }
|
971
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
972
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
973
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
974
|
+
@instance.post_export(request);
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|
978
|
+
describe 'post_export_ods_workbook test' do
|
979
|
+
it "should work" do
|
980
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
981
|
+
book1_xlsx = 'Book1.xlsx'
|
982
|
+
|
983
|
+
format = "ods"
|
984
|
+
object_type = "workbook"
|
985
|
+
|
986
|
+
|
987
|
+
mapFiles = { }
|
988
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
989
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
990
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
991
|
+
@instance.post_export(request);
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
995
|
+
describe 'post_export_pdf_workbook test' do
|
996
|
+
it "should work" do
|
997
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
998
|
+
book1_xlsx = 'Book1.xlsx'
|
999
|
+
|
1000
|
+
format = "pdf"
|
1001
|
+
object_type = "workbook"
|
1002
|
+
|
1003
|
+
|
1004
|
+
mapFiles = { }
|
1005
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1006
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1007
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1008
|
+
@instance.post_export(request);
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
describe 'post_export_xml_workbook test' do
|
1013
|
+
it "should work" do
|
1014
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1015
|
+
book1_xlsx = 'Book1.xlsx'
|
1016
|
+
|
1017
|
+
format = "xml"
|
1018
|
+
object_type = "workbook"
|
1019
|
+
|
1020
|
+
|
1021
|
+
mapFiles = { }
|
1022
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1023
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1024
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1025
|
+
@instance.post_export(request);
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
describe 'post_export_txt_workbook test' do
|
1030
|
+
it "should work" do
|
1031
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1032
|
+
book1_xlsx = 'Book1.xlsx'
|
1033
|
+
|
1034
|
+
format = "txt"
|
1035
|
+
object_type = "workbook"
|
1036
|
+
|
1037
|
+
|
1038
|
+
mapFiles = { }
|
1039
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1040
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1041
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1042
|
+
@instance.post_export(request);
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
describe 'post_export_tif_workbook test' do
|
1047
|
+
it "should work" do
|
1048
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1049
|
+
book1_xlsx = 'Book1.xlsx'
|
1050
|
+
|
1051
|
+
format = "tif"
|
1052
|
+
object_type = "workbook"
|
1053
|
+
|
1054
|
+
|
1055
|
+
mapFiles = { }
|
1056
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1057
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1058
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1059
|
+
@instance.post_export(request);
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
describe 'post_export_xlsb_workbook test' do
|
1064
|
+
it "should work" do
|
1065
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1066
|
+
book1_xlsx = 'Book1.xlsx'
|
1067
|
+
|
1068
|
+
format = "xlsb"
|
1069
|
+
object_type = "workbook"
|
1070
|
+
|
1071
|
+
|
1072
|
+
mapFiles = { }
|
1073
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1074
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1075
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1076
|
+
@instance.post_export(request);
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
describe 'post_export_xlsm_workbook test' do
|
1081
|
+
it "should work" do
|
1082
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1083
|
+
book1_xlsx = 'Book1.xlsx'
|
1084
|
+
|
1085
|
+
format = "xlsm"
|
1086
|
+
object_type = "workbook"
|
1087
|
+
|
1088
|
+
|
1089
|
+
mapFiles = { }
|
1090
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1091
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1092
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1093
|
+
@instance.post_export(request);
|
1094
|
+
end
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
describe 'post_export_xlsx_workbook test' do
|
1098
|
+
it "should work" do
|
1099
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1100
|
+
book1_xlsx = 'Book1.xlsx'
|
1101
|
+
|
1102
|
+
format = "xlsx"
|
1103
|
+
object_type = "workbook"
|
1104
|
+
|
1105
|
+
|
1106
|
+
mapFiles = { }
|
1107
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1108
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1109
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1110
|
+
@instance.post_export(request);
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
describe 'post_export_xltm_workbook test' do
|
1115
|
+
it "should work" do
|
1116
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1117
|
+
book1_xlsx = 'Book1.xlsx'
|
1118
|
+
|
1119
|
+
format = "xltm"
|
1120
|
+
object_type = "workbook"
|
1121
|
+
|
1122
|
+
|
1123
|
+
mapFiles = { }
|
1124
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1125
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1126
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1127
|
+
@instance.post_export(request);
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
describe 'post_export_xltx_workbook test' do
|
1132
|
+
it "should work" do
|
1133
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1134
|
+
book1_xlsx = 'Book1.xlsx'
|
1135
|
+
|
1136
|
+
format = "xltx"
|
1137
|
+
object_type = "workbook"
|
1138
|
+
|
1139
|
+
|
1140
|
+
mapFiles = { }
|
1141
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1142
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1143
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1144
|
+
@instance.post_export(request);
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
describe 'post_export_xps_workbook test' do
|
1149
|
+
it "should work" do
|
1150
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1151
|
+
book1_xlsx = 'Book1.xlsx'
|
1152
|
+
|
1153
|
+
format = "xps"
|
1154
|
+
object_type = "workbook"
|
1155
|
+
|
1156
|
+
|
1157
|
+
mapFiles = { }
|
1158
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1159
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1160
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1161
|
+
@instance.post_export(request);
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
describe 'post_export_png_workbook test' do
|
1166
|
+
it "should work" do
|
1167
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1168
|
+
book1_xlsx = 'Book1.xlsx'
|
1169
|
+
|
1170
|
+
format = "png"
|
1171
|
+
object_type = "workbook"
|
1172
|
+
|
1173
|
+
|
1174
|
+
mapFiles = { }
|
1175
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1176
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1177
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1178
|
+
@instance.post_export(request);
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
describe 'post_export_jpg_workbook test' do
|
1183
|
+
it "should work" do
|
1184
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1185
|
+
book1_xlsx = 'Book1.xlsx'
|
1186
|
+
|
1187
|
+
format = "jpg"
|
1188
|
+
object_type = "workbook"
|
1189
|
+
|
1190
|
+
|
1191
|
+
mapFiles = { }
|
1192
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1193
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1194
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1195
|
+
@instance.post_export(request);
|
1196
|
+
end
|
1197
|
+
end
|
1198
|
+
|
1199
|
+
describe 'post_export_gif_workbook test' do
|
1200
|
+
it "should work" do
|
1201
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1202
|
+
book1_xlsx = 'Book1.xlsx'
|
1203
|
+
|
1204
|
+
format = "gif"
|
1205
|
+
object_type = "workbook"
|
1206
|
+
|
1207
|
+
|
1208
|
+
mapFiles = { }
|
1209
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1210
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1211
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1212
|
+
@instance.post_export(request);
|
1213
|
+
end
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
describe 'post_export_emf_workbook test' do
|
1217
|
+
it "should work" do
|
1218
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1219
|
+
book1_xlsx = 'Book1.xlsx'
|
1220
|
+
|
1221
|
+
format = "emf"
|
1222
|
+
object_type = "workbook"
|
1223
|
+
|
1224
|
+
|
1225
|
+
mapFiles = { }
|
1226
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1227
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1228
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1229
|
+
@instance.post_export(request);
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
describe 'post_export_bmp_workbook test' do
|
1234
|
+
it "should work" do
|
1235
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1236
|
+
book1_xlsx = 'Book1.xlsx'
|
1237
|
+
|
1238
|
+
format = "bmp"
|
1239
|
+
object_type = "workbook"
|
1240
|
+
|
1241
|
+
|
1242
|
+
mapFiles = { }
|
1243
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1244
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1245
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1246
|
+
@instance.post_export(request);
|
1247
|
+
end
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
describe 'post_export_md_workbook test' do
|
1251
|
+
it "should work" do
|
1252
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1253
|
+
book1_xlsx = 'Book1.xlsx'
|
1254
|
+
|
1255
|
+
format = "md"
|
1256
|
+
object_type = "workbook"
|
1257
|
+
|
1258
|
+
|
1259
|
+
mapFiles = { }
|
1260
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1261
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1262
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1263
|
+
@instance.post_export(request);
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
describe 'post_export_numbers_workbook test' do
|
1268
|
+
it "should work" do
|
1269
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1270
|
+
book1_xlsx = 'Book1.xlsx'
|
1271
|
+
|
1272
|
+
format = "numbers"
|
1273
|
+
object_type = "workbook"
|
1274
|
+
|
1275
|
+
|
1276
|
+
mapFiles = { }
|
1277
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1278
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1279
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1280
|
+
@instance.post_export(request);
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
1284
|
+
describe 'post_export_wmf_workbook test' do
|
1285
|
+
it "should work" do
|
1286
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1287
|
+
book1_xlsx = 'Book1.xlsx'
|
1288
|
+
|
1289
|
+
format = "wmf"
|
1290
|
+
object_type = "workbook"
|
1291
|
+
|
1292
|
+
|
1293
|
+
mapFiles = { }
|
1294
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1295
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1296
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1297
|
+
@instance.post_export(request);
|
1298
|
+
end
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
describe 'post_export_svg_workbook test' do
|
1302
|
+
it "should work" do
|
1303
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1304
|
+
book1_xlsx = 'Book1.xlsx'
|
1305
|
+
|
1306
|
+
format = "svg"
|
1307
|
+
object_type = "workbook"
|
1308
|
+
|
1309
|
+
|
1310
|
+
mapFiles = { }
|
1311
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1312
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1313
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1314
|
+
@instance.post_export(request);
|
1315
|
+
end
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
describe 'post_export_docx_workbook test' do
|
1319
|
+
it "should work" do
|
1320
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1321
|
+
book1_xlsx = 'Book1.xlsx'
|
1322
|
+
|
1323
|
+
format = "docx"
|
1324
|
+
object_type = "workbook"
|
1325
|
+
|
1326
|
+
|
1327
|
+
mapFiles = { }
|
1328
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1329
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1330
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1331
|
+
@instance.post_export(request);
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
describe 'post_export_pptx_workbook test' do
|
1336
|
+
it "should work" do
|
1337
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1338
|
+
book1_xlsx = 'Book1.xlsx'
|
1339
|
+
|
1340
|
+
format = "pptx"
|
1341
|
+
object_type = "workbook"
|
1342
|
+
|
1343
|
+
|
1344
|
+
mapFiles = { }
|
1345
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1346
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1347
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1348
|
+
@instance.post_export(request);
|
1349
|
+
end
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
describe 'post_export_json_workbook test' do
|
1353
|
+
it "should work" do
|
1354
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1355
|
+
book1_xlsx = 'Book1.xlsx'
|
1356
|
+
|
1357
|
+
format = "json"
|
1358
|
+
object_type = "workbook"
|
1359
|
+
|
1360
|
+
|
1361
|
+
mapFiles = { }
|
1362
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1363
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1364
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1365
|
+
@instance.post_export(request);
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
describe 'post_export_sql_workbook test' do
|
1370
|
+
it "should work" do
|
1371
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1372
|
+
book1_xlsx = 'Book1.xlsx'
|
1373
|
+
|
1374
|
+
format = "sql"
|
1375
|
+
object_type = "workbook"
|
1376
|
+
|
1377
|
+
|
1378
|
+
mapFiles = { }
|
1379
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1380
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1381
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1382
|
+
@instance.post_export(request);
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
describe 'post_export_csv_worksheet test' do
|
1387
|
+
it "should work" do
|
1388
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1389
|
+
book1_xlsx = 'Book1.xlsx'
|
1390
|
+
|
1391
|
+
format = "csv"
|
1392
|
+
object_type = "worksheet"
|
1393
|
+
|
1394
|
+
|
1395
|
+
mapFiles = { }
|
1396
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1397
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1398
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1399
|
+
@instance.post_export(request);
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
describe 'post_export_xls_worksheet test' do
|
1404
|
+
it "should work" do
|
1405
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1406
|
+
book1_xlsx = 'Book1.xlsx'
|
1407
|
+
|
1408
|
+
format = "xls"
|
1409
|
+
object_type = "worksheet"
|
1410
|
+
|
1411
|
+
|
1412
|
+
mapFiles = { }
|
1413
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1414
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1415
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1416
|
+
@instance.post_export(request);
|
1417
|
+
end
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
describe 'post_export_html_worksheet test' do
|
1421
|
+
it "should work" do
|
1422
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1423
|
+
book1_xlsx = 'Book1.xlsx'
|
1424
|
+
|
1425
|
+
format = "html"
|
1426
|
+
object_type = "worksheet"
|
1427
|
+
|
1428
|
+
|
1429
|
+
mapFiles = { }
|
1430
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1431
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1432
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1433
|
+
@instance.post_export(request);
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
describe 'post_export_mhtml_worksheet test' do
|
1438
|
+
it "should work" do
|
1439
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1440
|
+
book1_xlsx = 'Book1.xlsx'
|
1441
|
+
|
1442
|
+
format = "mhtml"
|
1443
|
+
object_type = "worksheet"
|
1444
|
+
|
1445
|
+
|
1446
|
+
mapFiles = { }
|
1447
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1448
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1449
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1450
|
+
@instance.post_export(request);
|
1451
|
+
end
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
describe 'post_export_ods_worksheet test' do
|
1455
|
+
it "should work" do
|
1456
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1457
|
+
book1_xlsx = 'Book1.xlsx'
|
1458
|
+
|
1459
|
+
format = "ods"
|
1460
|
+
object_type = "worksheet"
|
1461
|
+
|
1462
|
+
|
1463
|
+
mapFiles = { }
|
1464
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1465
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1466
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1467
|
+
@instance.post_export(request);
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
describe 'post_export_pdf_worksheet test' do
|
1472
|
+
it "should work" do
|
1473
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1474
|
+
book1_xlsx = 'Book1.xlsx'
|
1475
|
+
|
1476
|
+
format = "pdf"
|
1477
|
+
object_type = "worksheet"
|
1478
|
+
|
1479
|
+
|
1480
|
+
mapFiles = { }
|
1481
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1482
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1483
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1484
|
+
@instance.post_export(request);
|
1485
|
+
end
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
describe 'post_export_xml_worksheet test' do
|
1489
|
+
it "should work" do
|
1490
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1491
|
+
book1_xlsx = 'Book1.xlsx'
|
1492
|
+
|
1493
|
+
format = "xml"
|
1494
|
+
object_type = "worksheet"
|
1495
|
+
|
1496
|
+
|
1497
|
+
mapFiles = { }
|
1498
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1499
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1500
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1501
|
+
@instance.post_export(request);
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
describe 'post_export_txt_worksheet test' do
|
1506
|
+
it "should work" do
|
1507
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1508
|
+
book1_xlsx = 'Book1.xlsx'
|
1509
|
+
|
1510
|
+
format = "txt"
|
1511
|
+
object_type = "worksheet"
|
1512
|
+
|
1513
|
+
|
1514
|
+
mapFiles = { }
|
1515
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1516
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1517
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1518
|
+
@instance.post_export(request);
|
1519
|
+
end
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
describe 'post_export_tif_worksheet test' do
|
1523
|
+
it "should work" do
|
1524
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1525
|
+
book1_xlsx = 'Book1.xlsx'
|
1526
|
+
|
1527
|
+
format = "tif"
|
1528
|
+
object_type = "worksheet"
|
1529
|
+
|
1530
|
+
|
1531
|
+
mapFiles = { }
|
1532
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1533
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1534
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1535
|
+
@instance.post_export(request);
|
1536
|
+
end
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
describe 'post_export_xlsb_worksheet test' do
|
1540
|
+
it "should work" do
|
1541
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1542
|
+
book1_xlsx = 'Book1.xlsx'
|
1543
|
+
|
1544
|
+
format = "xlsb"
|
1545
|
+
object_type = "worksheet"
|
1546
|
+
|
1547
|
+
|
1548
|
+
mapFiles = { }
|
1549
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1550
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1551
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1552
|
+
@instance.post_export(request);
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
describe 'post_export_xlsm_worksheet test' do
|
1557
|
+
it "should work" do
|
1558
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1559
|
+
book1_xlsx = 'Book1.xlsx'
|
1560
|
+
|
1561
|
+
format = "xlsm"
|
1562
|
+
object_type = "worksheet"
|
1563
|
+
|
1564
|
+
|
1565
|
+
mapFiles = { }
|
1566
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1567
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1568
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1569
|
+
@instance.post_export(request);
|
1570
|
+
end
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
describe 'post_export_xlsx_worksheet test' do
|
1574
|
+
it "should work" do
|
1575
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1576
|
+
book1_xlsx = 'Book1.xlsx'
|
1577
|
+
|
1578
|
+
format = "xlsx"
|
1579
|
+
object_type = "worksheet"
|
1580
|
+
|
1581
|
+
|
1582
|
+
mapFiles = { }
|
1583
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1584
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1585
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1586
|
+
@instance.post_export(request);
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
describe 'post_export_xltm_worksheet test' do
|
1591
|
+
it "should work" do
|
1592
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1593
|
+
book1_xlsx = 'Book1.xlsx'
|
1594
|
+
|
1595
|
+
format = "xltm"
|
1596
|
+
object_type = "worksheet"
|
1597
|
+
|
1598
|
+
|
1599
|
+
mapFiles = { }
|
1600
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1601
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1602
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1603
|
+
@instance.post_export(request);
|
1604
|
+
end
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
describe 'post_export_xltx_worksheet test' do
|
1608
|
+
it "should work" do
|
1609
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1610
|
+
book1_xlsx = 'Book1.xlsx'
|
1611
|
+
|
1612
|
+
format = "xltx"
|
1613
|
+
object_type = "worksheet"
|
1614
|
+
|
1615
|
+
|
1616
|
+
mapFiles = { }
|
1617
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1618
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1619
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1620
|
+
@instance.post_export(request);
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
describe 'post_export_xps_worksheet test' do
|
1625
|
+
it "should work" do
|
1626
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1627
|
+
book1_xlsx = 'Book1.xlsx'
|
1628
|
+
|
1629
|
+
format = "xps"
|
1630
|
+
object_type = "worksheet"
|
1631
|
+
|
1632
|
+
|
1633
|
+
mapFiles = { }
|
1634
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1635
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1636
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1637
|
+
@instance.post_export(request);
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
|
1641
|
+
describe 'post_export_png_worksheet test' do
|
1642
|
+
it "should work" do
|
1643
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1644
|
+
book1_xlsx = 'Book1.xlsx'
|
1645
|
+
|
1646
|
+
format = "png"
|
1647
|
+
object_type = "worksheet"
|
1648
|
+
|
1649
|
+
|
1650
|
+
mapFiles = { }
|
1651
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1652
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1653
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1654
|
+
@instance.post_export(request);
|
1655
|
+
end
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
describe 'post_export_jpg_worksheet test' do
|
1659
|
+
it "should work" do
|
1660
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1661
|
+
book1_xlsx = 'Book1.xlsx'
|
1662
|
+
|
1663
|
+
format = "jpg"
|
1664
|
+
object_type = "worksheet"
|
1665
|
+
|
1666
|
+
|
1667
|
+
mapFiles = { }
|
1668
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1669
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1670
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1671
|
+
@instance.post_export(request);
|
1672
|
+
end
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
describe 'post_export_gif_worksheet test' do
|
1676
|
+
it "should work" do
|
1677
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1678
|
+
book1_xlsx = 'Book1.xlsx'
|
1679
|
+
|
1680
|
+
format = "gif"
|
1681
|
+
object_type = "worksheet"
|
1682
|
+
|
1683
|
+
|
1684
|
+
mapFiles = { }
|
1685
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1686
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1687
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1688
|
+
@instance.post_export(request);
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
describe 'post_export_emf_worksheet test' do
|
1693
|
+
it "should work" do
|
1694
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1695
|
+
book1_xlsx = 'Book1.xlsx'
|
1696
|
+
|
1697
|
+
format = "emf"
|
1698
|
+
object_type = "worksheet"
|
1699
|
+
|
1700
|
+
|
1701
|
+
mapFiles = { }
|
1702
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1703
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1704
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1705
|
+
@instance.post_export(request);
|
1706
|
+
end
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
describe 'post_export_bmp_worksheet test' do
|
1710
|
+
it "should work" do
|
1711
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1712
|
+
book1_xlsx = 'Book1.xlsx'
|
1713
|
+
|
1714
|
+
format = "bmp"
|
1715
|
+
object_type = "worksheet"
|
1716
|
+
|
1717
|
+
|
1718
|
+
mapFiles = { }
|
1719
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1720
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1721
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1722
|
+
@instance.post_export(request);
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
describe 'post_export_md_worksheet test' do
|
1727
|
+
it "should work" do
|
1728
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1729
|
+
book1_xlsx = 'Book1.xlsx'
|
1730
|
+
|
1731
|
+
format = "md"
|
1732
|
+
object_type = "worksheet"
|
1733
|
+
|
1734
|
+
|
1735
|
+
mapFiles = { }
|
1736
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1737
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1738
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1739
|
+
@instance.post_export(request);
|
1740
|
+
end
|
1741
|
+
end
|
1742
|
+
|
1743
|
+
describe 'post_export_numbers_worksheet test' do
|
1744
|
+
it "should work" do
|
1745
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1746
|
+
book1_xlsx = 'Book1.xlsx'
|
1747
|
+
|
1748
|
+
format = "numbers"
|
1749
|
+
object_type = "worksheet"
|
1750
|
+
|
1751
|
+
|
1752
|
+
mapFiles = { }
|
1753
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1754
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1755
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1756
|
+
@instance.post_export(request);
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
describe 'post_export_wmf_worksheet test' do
|
1761
|
+
it "should work" do
|
1762
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1763
|
+
book1_xlsx = 'Book1.xlsx'
|
1764
|
+
|
1765
|
+
format = "wmf"
|
1766
|
+
object_type = "worksheet"
|
1767
|
+
|
1768
|
+
|
1769
|
+
mapFiles = { }
|
1770
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1771
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1772
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1773
|
+
@instance.post_export(request);
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
describe 'post_export_svg_worksheet test' do
|
1778
|
+
it "should work" do
|
1779
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1780
|
+
book1_xlsx = 'Book1.xlsx'
|
1781
|
+
|
1782
|
+
format = "svg"
|
1783
|
+
object_type = "worksheet"
|
1784
|
+
|
1785
|
+
|
1786
|
+
mapFiles = { }
|
1787
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1788
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1789
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1790
|
+
@instance.post_export(request);
|
1791
|
+
end
|
1792
|
+
end
|
1793
|
+
|
1794
|
+
describe 'post_export_docx_worksheet test' do
|
1795
|
+
it "should work" do
|
1796
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1797
|
+
book1_xlsx = 'Book1.xlsx'
|
1798
|
+
|
1799
|
+
format = "docx"
|
1800
|
+
object_type = "worksheet"
|
1801
|
+
|
1802
|
+
|
1803
|
+
mapFiles = { }
|
1804
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1805
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1806
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1807
|
+
@instance.post_export(request);
|
1808
|
+
end
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
describe 'post_export_pptx_worksheet test' do
|
1812
|
+
it "should work" do
|
1813
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1814
|
+
book1_xlsx = 'Book1.xlsx'
|
1815
|
+
|
1816
|
+
format = "pptx"
|
1817
|
+
object_type = "worksheet"
|
1818
|
+
|
1819
|
+
|
1820
|
+
mapFiles = { }
|
1821
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1822
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1823
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1824
|
+
@instance.post_export(request);
|
1825
|
+
end
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
describe 'post_export_json_worksheet test' do
|
1829
|
+
it "should work" do
|
1830
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1831
|
+
book1_xlsx = 'Book1.xlsx'
|
1832
|
+
|
1833
|
+
format = "json"
|
1834
|
+
object_type = "worksheet"
|
1835
|
+
|
1836
|
+
|
1837
|
+
mapFiles = { }
|
1838
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1839
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1840
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1841
|
+
@instance.post_export(request);
|
1842
|
+
end
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
describe 'post_export_sql_worksheet test' do
|
1846
|
+
it "should work" do
|
1847
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1848
|
+
book1_xlsx = 'Book1.xlsx'
|
1849
|
+
|
1850
|
+
format = "sql"
|
1851
|
+
object_type = "worksheet"
|
1852
|
+
|
1853
|
+
|
1854
|
+
mapFiles = { }
|
1855
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1856
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1857
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1858
|
+
@instance.post_export(request);
|
1859
|
+
end
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
describe 'post_export_pdf_chart test' do
|
1863
|
+
it "should work" do
|
1864
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1865
|
+
book1_xlsx = 'Book1.xlsx'
|
1866
|
+
|
1867
|
+
format = "pdf"
|
1868
|
+
object_type = "chart"
|
1869
|
+
|
1870
|
+
|
1871
|
+
mapFiles = { }
|
1872
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1873
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1874
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1875
|
+
@instance.post_export(request);
|
1876
|
+
end
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
describe 'post_export_tif_chart test' do
|
1880
|
+
it "should work" do
|
1881
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1882
|
+
book1_xlsx = 'Book1.xlsx'
|
1883
|
+
|
1884
|
+
format = "tif"
|
1885
|
+
object_type = "chart"
|
1886
|
+
|
1887
|
+
|
1888
|
+
mapFiles = { }
|
1889
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1890
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1891
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1892
|
+
@instance.post_export(request);
|
1893
|
+
end
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
describe 'post_export_png_chart test' do
|
1897
|
+
it "should work" do
|
1898
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1899
|
+
book1_xlsx = 'Book1.xlsx'
|
1900
|
+
|
1901
|
+
format = "png"
|
1902
|
+
object_type = "chart"
|
1903
|
+
|
1904
|
+
|
1905
|
+
mapFiles = { }
|
1906
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1907
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1908
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1909
|
+
@instance.post_export(request);
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
describe 'post_export_jpg_chart test' do
|
1914
|
+
it "should work" do
|
1915
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1916
|
+
book1_xlsx = 'Book1.xlsx'
|
1917
|
+
|
1918
|
+
format = "jpg"
|
1919
|
+
object_type = "chart"
|
1920
|
+
|
1921
|
+
|
1922
|
+
mapFiles = { }
|
1923
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1924
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1925
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1926
|
+
@instance.post_export(request);
|
1927
|
+
end
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
describe 'post_export_gif_chart test' do
|
1931
|
+
it "should work" do
|
1932
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1933
|
+
book1_xlsx = 'Book1.xlsx'
|
1934
|
+
|
1935
|
+
format = "gif"
|
1936
|
+
object_type = "chart"
|
1937
|
+
|
1938
|
+
|
1939
|
+
mapFiles = { }
|
1940
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1941
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1942
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1943
|
+
@instance.post_export(request);
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
describe 'post_export_emf_chart test' do
|
1948
|
+
it "should work" do
|
1949
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1950
|
+
book1_xlsx = 'Book1.xlsx'
|
1951
|
+
|
1952
|
+
format = "emf"
|
1953
|
+
object_type = "chart"
|
1954
|
+
|
1955
|
+
|
1956
|
+
mapFiles = { }
|
1957
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1958
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1959
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1960
|
+
@instance.post_export(request);
|
1961
|
+
end
|
1962
|
+
end
|
1963
|
+
|
1964
|
+
describe 'post_export_bmp_chart test' do
|
1965
|
+
it "should work" do
|
1966
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1967
|
+
book1_xlsx = 'Book1.xlsx'
|
1968
|
+
|
1969
|
+
format = "bmp"
|
1970
|
+
object_type = "chart"
|
1971
|
+
|
1972
|
+
|
1973
|
+
mapFiles = { }
|
1974
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1975
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1976
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1977
|
+
@instance.post_export(request);
|
1978
|
+
end
|
1979
|
+
end
|
1980
|
+
|
1981
|
+
describe 'post_export_png_picture test' do
|
1982
|
+
it "should work" do
|
1983
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
1984
|
+
book1_xlsx = 'Book1.xlsx'
|
1985
|
+
|
1986
|
+
format = "png"
|
1987
|
+
object_type = "picture"
|
1988
|
+
|
1989
|
+
|
1990
|
+
mapFiles = { }
|
1991
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1992
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1993
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1994
|
+
@instance.post_export(request);
|
1995
|
+
end
|
1996
|
+
end
|
1997
|
+
|
1998
|
+
describe 'post_export_jpg_picture test' do
|
1999
|
+
it "should work" do
|
2000
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2001
|
+
book1_xlsx = 'Book1.xlsx'
|
2002
|
+
|
2003
|
+
format = "jpg"
|
2004
|
+
object_type = "picture"
|
2005
|
+
|
2006
|
+
|
2007
|
+
mapFiles = { }
|
2008
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2009
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2010
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2011
|
+
@instance.post_export(request);
|
2012
|
+
end
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
describe 'post_export_gif_picture test' do
|
2016
|
+
it "should work" do
|
2017
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2018
|
+
book1_xlsx = 'Book1.xlsx'
|
2019
|
+
|
2020
|
+
format = "gif"
|
2021
|
+
object_type = "picture"
|
2022
|
+
|
2023
|
+
|
2024
|
+
mapFiles = { }
|
2025
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2026
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2027
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2028
|
+
@instance.post_export(request);
|
2029
|
+
end
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
describe 'post_export_emf_picture test' do
|
2033
|
+
it "should work" do
|
2034
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2035
|
+
book1_xlsx = 'Book1.xlsx'
|
2036
|
+
|
2037
|
+
format = "emf"
|
2038
|
+
object_type = "picture"
|
2039
|
+
|
2040
|
+
|
2041
|
+
mapFiles = { }
|
2042
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2043
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2044
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2045
|
+
@instance.post_export(request);
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
describe 'post_export_bmp_picture test' do
|
2050
|
+
it "should work" do
|
2051
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2052
|
+
book1_xlsx = 'Book1.xlsx'
|
2053
|
+
|
2054
|
+
format = "bmp"
|
2055
|
+
object_type = "picture"
|
2056
|
+
|
2057
|
+
|
2058
|
+
mapFiles = { }
|
2059
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2060
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2061
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2062
|
+
@instance.post_export(request);
|
2063
|
+
end
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
describe 'post_export_csv_listobject test' do
|
2067
|
+
it "should work" do
|
2068
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2069
|
+
book1_xlsx = 'Book1.xlsx'
|
2070
|
+
|
2071
|
+
format = "csv"
|
2072
|
+
object_type = "listobject"
|
2073
|
+
|
2074
|
+
|
2075
|
+
mapFiles = { }
|
2076
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2077
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2078
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2079
|
+
@instance.post_export(request);
|
2080
|
+
end
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
describe 'post_export_xls_listobject test' do
|
2084
|
+
it "should work" do
|
2085
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2086
|
+
book1_xlsx = 'Book1.xlsx'
|
2087
|
+
|
2088
|
+
format = "xls"
|
2089
|
+
object_type = "listobject"
|
2090
|
+
|
2091
|
+
|
2092
|
+
mapFiles = { }
|
2093
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2094
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2095
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2096
|
+
@instance.post_export(request);
|
2097
|
+
end
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
describe 'post_export_html_listobject test' do
|
2101
|
+
it "should work" do
|
2102
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2103
|
+
book1_xlsx = 'Book1.xlsx'
|
2104
|
+
|
2105
|
+
format = "html"
|
2106
|
+
object_type = "listobject"
|
2107
|
+
|
2108
|
+
|
2109
|
+
mapFiles = { }
|
2110
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2111
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2112
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2113
|
+
@instance.post_export(request);
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
describe 'post_export_mhtml_listobject test' do
|
2118
|
+
it "should work" do
|
2119
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2120
|
+
book1_xlsx = 'Book1.xlsx'
|
2121
|
+
|
2122
|
+
format = "mhtml"
|
2123
|
+
object_type = "listobject"
|
2124
|
+
|
2125
|
+
|
2126
|
+
mapFiles = { }
|
2127
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2128
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2129
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2130
|
+
@instance.post_export(request);
|
2131
|
+
end
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
describe 'post_export_ods_listobject test' do
|
2135
|
+
it "should work" do
|
2136
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2137
|
+
book1_xlsx = 'Book1.xlsx'
|
2138
|
+
|
2139
|
+
format = "ods"
|
2140
|
+
object_type = "listobject"
|
2141
|
+
|
2142
|
+
|
2143
|
+
mapFiles = { }
|
2144
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2145
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2146
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2147
|
+
@instance.post_export(request);
|
2148
|
+
end
|
2149
|
+
end
|
2150
|
+
|
2151
|
+
describe 'post_export_pdf_listobject test' do
|
2152
|
+
it "should work" do
|
2153
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2154
|
+
book1_xlsx = 'Book1.xlsx'
|
2155
|
+
|
2156
|
+
format = "pdf"
|
2157
|
+
object_type = "listobject"
|
2158
|
+
|
2159
|
+
|
2160
|
+
mapFiles = { }
|
2161
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2162
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2163
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2164
|
+
@instance.post_export(request);
|
2165
|
+
end
|
2166
|
+
end
|
2167
|
+
|
2168
|
+
describe 'post_export_xml_listobject test' do
|
2169
|
+
it "should work" do
|
2170
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2171
|
+
book1_xlsx = 'Book1.xlsx'
|
2172
|
+
|
2173
|
+
format = "xml"
|
2174
|
+
object_type = "listobject"
|
2175
|
+
|
2176
|
+
|
2177
|
+
mapFiles = { }
|
2178
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2179
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2180
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2181
|
+
@instance.post_export(request);
|
2182
|
+
end
|
2183
|
+
end
|
2184
|
+
|
2185
|
+
describe 'post_export_txt_listobject test' do
|
2186
|
+
it "should work" do
|
2187
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2188
|
+
book1_xlsx = 'Book1.xlsx'
|
2189
|
+
|
2190
|
+
format = "txt"
|
2191
|
+
object_type = "listobject"
|
2192
|
+
|
2193
|
+
|
2194
|
+
mapFiles = { }
|
2195
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2196
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2197
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2198
|
+
@instance.post_export(request);
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
describe 'post_export_tif_listobject test' do
|
2203
|
+
it "should work" do
|
2204
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2205
|
+
book1_xlsx = 'Book1.xlsx'
|
2206
|
+
|
2207
|
+
format = "tif"
|
2208
|
+
object_type = "listobject"
|
2209
|
+
|
2210
|
+
|
2211
|
+
mapFiles = { }
|
2212
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2213
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2214
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2215
|
+
@instance.post_export(request);
|
2216
|
+
end
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
describe 'post_export_xlsb_listobject test' do
|
2220
|
+
it "should work" do
|
2221
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2222
|
+
book1_xlsx = 'Book1.xlsx'
|
2223
|
+
|
2224
|
+
format = "xlsb"
|
2225
|
+
object_type = "listobject"
|
2226
|
+
|
2227
|
+
|
2228
|
+
mapFiles = { }
|
2229
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2230
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2231
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2232
|
+
@instance.post_export(request);
|
2233
|
+
end
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
describe 'post_export_xlsm_listobject test' do
|
2237
|
+
it "should work" do
|
2238
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2239
|
+
book1_xlsx = 'Book1.xlsx'
|
2240
|
+
|
2241
|
+
format = "xlsm"
|
2242
|
+
object_type = "listobject"
|
2243
|
+
|
2244
|
+
|
2245
|
+
mapFiles = { }
|
2246
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2247
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2248
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2249
|
+
@instance.post_export(request);
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
describe 'post_export_xlsx_listobject test' do
|
2254
|
+
it "should work" do
|
2255
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2256
|
+
book1_xlsx = 'Book1.xlsx'
|
2257
|
+
|
2258
|
+
format = "xlsx"
|
2259
|
+
object_type = "listobject"
|
2260
|
+
|
2261
|
+
|
2262
|
+
mapFiles = { }
|
2263
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2264
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2265
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2266
|
+
@instance.post_export(request);
|
2267
|
+
end
|
2268
|
+
end
|
2269
|
+
|
2270
|
+
describe 'post_export_xltm_listobject test' do
|
2271
|
+
it "should work" do
|
2272
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2273
|
+
book1_xlsx = 'Book1.xlsx'
|
2274
|
+
|
2275
|
+
format = "xltm"
|
2276
|
+
object_type = "listobject"
|
2277
|
+
|
2278
|
+
|
2279
|
+
mapFiles = { }
|
2280
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2281
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2282
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2283
|
+
@instance.post_export(request);
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
describe 'post_export_xltx_listobject test' do
|
2288
|
+
it "should work" do
|
2289
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2290
|
+
book1_xlsx = 'Book1.xlsx'
|
2291
|
+
|
2292
|
+
format = "xltx"
|
2293
|
+
object_type = "listobject"
|
2294
|
+
|
2295
|
+
|
2296
|
+
mapFiles = { }
|
2297
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2298
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2299
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2300
|
+
@instance.post_export(request);
|
2301
|
+
end
|
2302
|
+
end
|
2303
|
+
|
2304
|
+
describe 'post_export_xps_listobject test' do
|
2305
|
+
it "should work" do
|
2306
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2307
|
+
book1_xlsx = 'Book1.xlsx'
|
2308
|
+
|
2309
|
+
format = "xps"
|
2310
|
+
object_type = "listobject"
|
2311
|
+
|
2312
|
+
|
2313
|
+
mapFiles = { }
|
2314
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2315
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2316
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2317
|
+
@instance.post_export(request);
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
describe 'post_export_png_listobject test' do
|
2322
|
+
it "should work" do
|
2323
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2324
|
+
book1_xlsx = 'Book1.xlsx'
|
2325
|
+
|
2326
|
+
format = "png"
|
2327
|
+
object_type = "listobject"
|
2328
|
+
|
2329
|
+
|
2330
|
+
mapFiles = { }
|
2331
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2332
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2333
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2334
|
+
@instance.post_export(request);
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
describe 'post_export_jpg_listobject test' do
|
2339
|
+
it "should work" do
|
2340
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2341
|
+
book1_xlsx = 'Book1.xlsx'
|
2342
|
+
|
2343
|
+
format = "jpg"
|
2344
|
+
object_type = "listobject"
|
2345
|
+
|
2346
|
+
|
2347
|
+
mapFiles = { }
|
2348
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2349
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2350
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2351
|
+
@instance.post_export(request);
|
2352
|
+
end
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
describe 'post_export_gif_listobject test' do
|
2356
|
+
it "should work" do
|
2357
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2358
|
+
book1_xlsx = 'Book1.xlsx'
|
2359
|
+
|
2360
|
+
format = "gif"
|
2361
|
+
object_type = "listobject"
|
2362
|
+
|
2363
|
+
|
2364
|
+
mapFiles = { }
|
2365
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2366
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2367
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2368
|
+
@instance.post_export(request);
|
2369
|
+
end
|
2370
|
+
end
|
2371
|
+
|
2372
|
+
describe 'post_export_emf_listobject test' do
|
2373
|
+
it "should work" do
|
2374
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2375
|
+
book1_xlsx = 'Book1.xlsx'
|
2376
|
+
|
2377
|
+
format = "emf"
|
2378
|
+
object_type = "listobject"
|
2379
|
+
|
2380
|
+
|
2381
|
+
mapFiles = { }
|
2382
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2383
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2384
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2385
|
+
@instance.post_export(request);
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
describe 'post_export_bmp_listobject test' do
|
2390
|
+
it "should work" do
|
2391
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2392
|
+
book1_xlsx = 'Book1.xlsx'
|
2393
|
+
|
2394
|
+
format = "bmp"
|
2395
|
+
object_type = "listobject"
|
2396
|
+
|
2397
|
+
|
2398
|
+
mapFiles = { }
|
2399
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2400
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2401
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2402
|
+
@instance.post_export(request);
|
2403
|
+
end
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
describe 'post_export_md_listobject test' do
|
2407
|
+
it "should work" do
|
2408
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2409
|
+
book1_xlsx = 'Book1.xlsx'
|
2410
|
+
|
2411
|
+
format = "md"
|
2412
|
+
object_type = "listobject"
|
2413
|
+
|
2414
|
+
|
2415
|
+
mapFiles = { }
|
2416
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2417
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2418
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2419
|
+
@instance.post_export(request);
|
2420
|
+
end
|
2421
|
+
end
|
2422
|
+
|
2423
|
+
describe 'post_export_numbers_listobject test' do
|
2424
|
+
it "should work" do
|
2425
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2426
|
+
book1_xlsx = 'Book1.xlsx'
|
2427
|
+
|
2428
|
+
format = "numbers"
|
2429
|
+
object_type = "listobject"
|
2430
|
+
|
2431
|
+
|
2432
|
+
mapFiles = { }
|
2433
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2434
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2435
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2436
|
+
@instance.post_export(request);
|
2437
|
+
end
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
describe 'post_export_wmf_listobject test' do
|
2441
|
+
it "should work" do
|
2442
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2443
|
+
book1_xlsx = 'Book1.xlsx'
|
2444
|
+
|
2445
|
+
format = "wmf"
|
2446
|
+
object_type = "listobject"
|
2447
|
+
|
2448
|
+
|
2449
|
+
mapFiles = { }
|
2450
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2451
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2452
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2453
|
+
@instance.post_export(request);
|
2454
|
+
end
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
describe 'post_export_svg_listobject test' do
|
2458
|
+
it "should work" do
|
2459
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2460
|
+
book1_xlsx = 'Book1.xlsx'
|
2461
|
+
|
2462
|
+
format = "svg"
|
2463
|
+
object_type = "listobject"
|
2464
|
+
|
2465
|
+
|
2466
|
+
mapFiles = { }
|
2467
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2468
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2469
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2470
|
+
@instance.post_export(request);
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
|
2474
|
+
describe 'post_export_docx_listobject test' do
|
2475
|
+
it "should work" do
|
2476
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2477
|
+
book1_xlsx = 'Book1.xlsx'
|
2478
|
+
|
2479
|
+
format = "docx"
|
2480
|
+
object_type = "listobject"
|
2481
|
+
|
2482
|
+
|
2483
|
+
mapFiles = { }
|
2484
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2485
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2486
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2487
|
+
@instance.post_export(request);
|
2488
|
+
end
|
2489
|
+
end
|
2490
|
+
|
2491
|
+
describe 'post_export_pptx_listobject test' do
|
2492
|
+
it "should work" do
|
2493
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2494
|
+
book1_xlsx = 'Book1.xlsx'
|
2495
|
+
|
2496
|
+
format = "pptx"
|
2497
|
+
object_type = "listobject"
|
2498
|
+
|
2499
|
+
|
2500
|
+
mapFiles = { }
|
2501
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2502
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2503
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2504
|
+
@instance.post_export(request);
|
2505
|
+
end
|
2506
|
+
end
|
2507
|
+
|
2508
|
+
describe 'post_export_json_listobject test' do
|
2509
|
+
it "should work" do
|
2510
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2511
|
+
book1_xlsx = 'Book1.xlsx'
|
2512
|
+
|
2513
|
+
format = "json"
|
2514
|
+
object_type = "listobject"
|
2515
|
+
|
2516
|
+
|
2517
|
+
mapFiles = { }
|
2518
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2519
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2520
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2521
|
+
@instance.post_export(request);
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
describe 'post_export_sql_listobject test' do
|
2526
|
+
it "should work" do
|
2527
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2528
|
+
book1_xlsx = 'Book1.xlsx'
|
2529
|
+
|
2530
|
+
format = "sql"
|
2531
|
+
object_type = "listobject"
|
2532
|
+
|
2533
|
+
|
2534
|
+
mapFiles = { }
|
2535
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2536
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2537
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2538
|
+
@instance.post_export(request);
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
|
2542
|
+
describe 'post_export_png_oleobject test' do
|
2543
|
+
it "should work" do
|
2544
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2545
|
+
book1_xlsx = 'Book1.xlsx'
|
2546
|
+
|
2547
|
+
format = "png"
|
2548
|
+
object_type = "oleobject"
|
2549
|
+
|
2550
|
+
|
2551
|
+
mapFiles = { }
|
2552
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2553
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2554
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2555
|
+
@instance.post_export(request);
|
2556
|
+
end
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
describe 'post_export_jpg_oleobject test' do
|
2560
|
+
it "should work" do
|
2561
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2562
|
+
book1_xlsx = 'Book1.xlsx'
|
2563
|
+
|
2564
|
+
format = "jpg"
|
2565
|
+
object_type = "oleobject"
|
2566
|
+
|
2567
|
+
|
2568
|
+
mapFiles = { }
|
2569
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2570
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2571
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2572
|
+
@instance.post_export(request);
|
2573
|
+
end
|
2574
|
+
end
|
2575
|
+
|
2576
|
+
describe 'post_export_gif_oleobject test' do
|
2577
|
+
it "should work" do
|
2578
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2579
|
+
book1_xlsx = 'Book1.xlsx'
|
2580
|
+
|
2581
|
+
format = "gif"
|
2582
|
+
object_type = "oleobject"
|
2583
|
+
|
2584
|
+
|
2585
|
+
mapFiles = { }
|
2586
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2587
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2588
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2589
|
+
@instance.post_export(request);
|
2590
|
+
end
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
describe 'post_export_emf_oleobject test' do
|
2594
|
+
it "should work" do
|
2595
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2596
|
+
book1_xlsx = 'Book1.xlsx'
|
2597
|
+
|
2598
|
+
format = "emf"
|
2599
|
+
object_type = "oleobject"
|
2600
|
+
|
2601
|
+
|
2602
|
+
mapFiles = { }
|
2603
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2604
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2605
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2606
|
+
@instance.post_export(request);
|
2607
|
+
end
|
2608
|
+
end
|
2609
|
+
|
2610
|
+
describe 'post_export_bmp_oleobject test' do
|
2611
|
+
it "should work" do
|
2612
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2613
|
+
book1_xlsx = 'Book1.xlsx'
|
2614
|
+
|
2615
|
+
format = "bmp"
|
2616
|
+
object_type = "oleobject"
|
2617
|
+
|
2618
|
+
|
2619
|
+
mapFiles = { }
|
2620
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2621
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2622
|
+
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2623
|
+
@instance.post_export(request);
|
2624
|
+
end
|
2625
|
+
end
|
2626
|
+
|
2627
|
+
describe 'post_compress_50 test' do
|
2628
|
+
it "should work" do
|
2629
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2630
|
+
data_source_xlsx = 'datasource.xlsx'
|
2631
|
+
|
2632
|
+
compress_level = 50
|
2633
|
+
|
2634
|
+
|
2635
|
+
mapFiles = { }
|
2636
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2637
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2638
|
+
request = AsposeCellsCloud::PostCompressRequest.new(:File=>mapFiles,:CompressLevel=>compress_level);
|
2639
|
+
@instance.post_compress(request);
|
2640
|
+
end
|
2641
|
+
end
|
2642
|
+
|
2643
|
+
describe 'post_compress_90 test' do
|
2644
|
+
it "should work" do
|
2645
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2646
|
+
data_source_xlsx = 'datasource.xlsx'
|
2647
|
+
|
2648
|
+
compress_level = 90
|
2649
|
+
|
2650
|
+
|
2651
|
+
mapFiles = { }
|
2652
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2653
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2654
|
+
request = AsposeCellsCloud::PostCompressRequest.new(:File=>mapFiles,:CompressLevel=>compress_level);
|
2655
|
+
@instance.post_compress(request);
|
2656
|
+
end
|
2657
|
+
end
|
2658
|
+
|
2659
|
+
describe 'post_merge_csv_true test' do
|
2660
|
+
it "should work" do
|
2661
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2662
|
+
data_source_xlsx = 'datasource.xlsx'
|
2663
|
+
|
2664
|
+
format = "csv"
|
2665
|
+
merge_to_one_sheet = true
|
2666
|
+
|
2667
|
+
|
2668
|
+
mapFiles = { }
|
2669
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2670
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2671
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2672
|
+
@instance.post_merge(request);
|
2673
|
+
end
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
describe 'post_merge_xls_true test' do
|
2677
|
+
it "should work" do
|
2678
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2679
|
+
data_source_xlsx = 'datasource.xlsx'
|
2680
|
+
|
2681
|
+
format = "xls"
|
2682
|
+
merge_to_one_sheet = true
|
2683
|
+
|
2684
|
+
|
2685
|
+
mapFiles = { }
|
2686
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2687
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2688
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2689
|
+
@instance.post_merge(request);
|
2690
|
+
end
|
2691
|
+
end
|
2692
|
+
|
2693
|
+
describe 'post_merge_html_true test' do
|
2694
|
+
it "should work" do
|
2695
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2696
|
+
data_source_xlsx = 'datasource.xlsx'
|
2697
|
+
|
2698
|
+
format = "html"
|
2699
|
+
merge_to_one_sheet = true
|
2700
|
+
|
2701
|
+
|
2702
|
+
mapFiles = { }
|
2703
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2704
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2705
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2706
|
+
@instance.post_merge(request);
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
|
2710
|
+
describe 'post_merge_mhtml_true test' do
|
2711
|
+
it "should work" do
|
2712
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2713
|
+
data_source_xlsx = 'datasource.xlsx'
|
2714
|
+
|
2715
|
+
format = "mhtml"
|
2716
|
+
merge_to_one_sheet = true
|
2717
|
+
|
2718
|
+
|
2719
|
+
mapFiles = { }
|
2720
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2721
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2722
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2723
|
+
@instance.post_merge(request);
|
2724
|
+
end
|
2725
|
+
end
|
2726
|
+
|
2727
|
+
describe 'post_merge_ods_true test' do
|
2728
|
+
it "should work" do
|
2729
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2730
|
+
data_source_xlsx = 'datasource.xlsx'
|
2731
|
+
|
2732
|
+
format = "ods"
|
2733
|
+
merge_to_one_sheet = true
|
2734
|
+
|
2735
|
+
|
2736
|
+
mapFiles = { }
|
2737
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2738
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2739
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2740
|
+
@instance.post_merge(request);
|
2741
|
+
end
|
2742
|
+
end
|
2743
|
+
|
2744
|
+
describe 'post_merge_pdf_true test' do
|
2745
|
+
it "should work" do
|
2746
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2747
|
+
data_source_xlsx = 'datasource.xlsx'
|
2748
|
+
|
2749
|
+
format = "pdf"
|
2750
|
+
merge_to_one_sheet = true
|
2751
|
+
|
2752
|
+
|
2753
|
+
mapFiles = { }
|
2754
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2755
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2756
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2757
|
+
@instance.post_merge(request);
|
2758
|
+
end
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
describe 'post_merge_xml_true test' do
|
2762
|
+
it "should work" do
|
2763
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2764
|
+
data_source_xlsx = 'datasource.xlsx'
|
2765
|
+
|
2766
|
+
format = "xml"
|
2767
|
+
merge_to_one_sheet = true
|
2768
|
+
|
2769
|
+
|
2770
|
+
mapFiles = { }
|
2771
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2772
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2773
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2774
|
+
@instance.post_merge(request);
|
2775
|
+
end
|
2776
|
+
end
|
2777
|
+
|
2778
|
+
describe 'post_merge_txt_true test' do
|
2779
|
+
it "should work" do
|
2780
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2781
|
+
data_source_xlsx = 'datasource.xlsx'
|
2782
|
+
|
2783
|
+
format = "txt"
|
2784
|
+
merge_to_one_sheet = true
|
2785
|
+
|
2786
|
+
|
2787
|
+
mapFiles = { }
|
2788
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2789
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2790
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2791
|
+
@instance.post_merge(request);
|
2792
|
+
end
|
2793
|
+
end
|
2794
|
+
|
2795
|
+
describe 'post_merge_tif_true test' do
|
2796
|
+
it "should work" do
|
2797
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2798
|
+
data_source_xlsx = 'datasource.xlsx'
|
2799
|
+
|
2800
|
+
format = "tif"
|
2801
|
+
merge_to_one_sheet = true
|
2802
|
+
|
2803
|
+
|
2804
|
+
mapFiles = { }
|
2805
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2806
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2807
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2808
|
+
@instance.post_merge(request);
|
2809
|
+
end
|
2810
|
+
end
|
2811
|
+
|
2812
|
+
describe 'post_merge_xlsb_true test' do
|
2813
|
+
it "should work" do
|
2814
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2815
|
+
data_source_xlsx = 'datasource.xlsx'
|
2816
|
+
|
2817
|
+
format = "xlsb"
|
2818
|
+
merge_to_one_sheet = true
|
2819
|
+
|
2820
|
+
|
2821
|
+
mapFiles = { }
|
2822
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2823
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2824
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2825
|
+
@instance.post_merge(request);
|
2826
|
+
end
|
2827
|
+
end
|
2828
|
+
|
2829
|
+
describe 'post_merge_xlsm_true test' do
|
2830
|
+
it "should work" do
|
2831
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2832
|
+
data_source_xlsx = 'datasource.xlsx'
|
2833
|
+
|
2834
|
+
format = "xlsm"
|
2835
|
+
merge_to_one_sheet = true
|
2836
|
+
|
2837
|
+
|
2838
|
+
mapFiles = { }
|
2839
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2840
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2841
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2842
|
+
@instance.post_merge(request);
|
2843
|
+
end
|
2844
|
+
end
|
2845
|
+
|
2846
|
+
describe 'post_merge_xlsx_true test' do
|
2847
|
+
it "should work" do
|
2848
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2849
|
+
data_source_xlsx = 'datasource.xlsx'
|
2850
|
+
|
2851
|
+
format = "xlsx"
|
2852
|
+
merge_to_one_sheet = true
|
2853
|
+
|
2854
|
+
|
2855
|
+
mapFiles = { }
|
2856
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2857
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2858
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2859
|
+
@instance.post_merge(request);
|
2860
|
+
end
|
2861
|
+
end
|
2862
|
+
|
2863
|
+
describe 'post_merge_xltm_true test' do
|
2864
|
+
it "should work" do
|
2865
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2866
|
+
data_source_xlsx = 'datasource.xlsx'
|
2867
|
+
|
2868
|
+
format = "xltm"
|
2869
|
+
merge_to_one_sheet = true
|
2870
|
+
|
2871
|
+
|
2872
|
+
mapFiles = { }
|
2873
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2874
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2875
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2876
|
+
@instance.post_merge(request);
|
2877
|
+
end
|
2878
|
+
end
|
2879
|
+
|
2880
|
+
describe 'post_merge_xltx_true test' do
|
2881
|
+
it "should work" do
|
2882
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2883
|
+
data_source_xlsx = 'datasource.xlsx'
|
2884
|
+
|
2885
|
+
format = "xltx"
|
2886
|
+
merge_to_one_sheet = true
|
2887
|
+
|
2888
|
+
|
2889
|
+
mapFiles = { }
|
2890
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2891
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2892
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2893
|
+
@instance.post_merge(request);
|
2894
|
+
end
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
describe 'post_merge_xps_true test' do
|
2898
|
+
it "should work" do
|
2899
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2900
|
+
data_source_xlsx = 'datasource.xlsx'
|
2901
|
+
|
2902
|
+
format = "xps"
|
2903
|
+
merge_to_one_sheet = true
|
2904
|
+
|
2905
|
+
|
2906
|
+
mapFiles = { }
|
2907
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2908
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2909
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2910
|
+
@instance.post_merge(request);
|
2911
|
+
end
|
2912
|
+
end
|
2913
|
+
|
2914
|
+
describe 'post_merge_png_true test' do
|
2915
|
+
it "should work" do
|
2916
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2917
|
+
data_source_xlsx = 'datasource.xlsx'
|
2918
|
+
|
2919
|
+
format = "png"
|
2920
|
+
merge_to_one_sheet = true
|
2921
|
+
|
2922
|
+
|
2923
|
+
mapFiles = { }
|
2924
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2925
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2926
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2927
|
+
@instance.post_merge(request);
|
2928
|
+
end
|
2929
|
+
end
|
2930
|
+
|
2931
|
+
describe 'post_merge_jpg_true test' do
|
2932
|
+
it "should work" do
|
2933
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2934
|
+
data_source_xlsx = 'datasource.xlsx'
|
2935
|
+
|
2936
|
+
format = "jpg"
|
2937
|
+
merge_to_one_sheet = true
|
2938
|
+
|
2939
|
+
|
2940
|
+
mapFiles = { }
|
2941
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2942
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2943
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2944
|
+
@instance.post_merge(request);
|
2945
|
+
end
|
2946
|
+
end
|
2947
|
+
|
2948
|
+
describe 'post_merge_gif_true test' do
|
2949
|
+
it "should work" do
|
2950
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2951
|
+
data_source_xlsx = 'datasource.xlsx'
|
2952
|
+
|
2953
|
+
format = "gif"
|
2954
|
+
merge_to_one_sheet = true
|
2955
|
+
|
2956
|
+
|
2957
|
+
mapFiles = { }
|
2958
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2959
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2960
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2961
|
+
@instance.post_merge(request);
|
2962
|
+
end
|
2963
|
+
end
|
2964
|
+
|
2965
|
+
describe 'post_merge_emf_true test' do
|
2966
|
+
it "should work" do
|
2967
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2968
|
+
data_source_xlsx = 'datasource.xlsx'
|
2969
|
+
|
2970
|
+
format = "emf"
|
2971
|
+
merge_to_one_sheet = true
|
2972
|
+
|
2973
|
+
|
2974
|
+
mapFiles = { }
|
2975
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2976
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2977
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2978
|
+
@instance.post_merge(request);
|
2979
|
+
end
|
2980
|
+
end
|
2981
|
+
|
2982
|
+
describe 'post_merge_bmp_true test' do
|
2983
|
+
it "should work" do
|
2984
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
2985
|
+
data_source_xlsx = 'datasource.xlsx'
|
2986
|
+
|
2987
|
+
format = "bmp"
|
2988
|
+
merge_to_one_sheet = true
|
2989
|
+
|
2990
|
+
|
2991
|
+
mapFiles = { }
|
2992
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2993
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2994
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2995
|
+
@instance.post_merge(request);
|
2996
|
+
end
|
2997
|
+
end
|
2998
|
+
|
2999
|
+
describe 'post_merge_md_true test' do
|
3000
|
+
it "should work" do
|
3001
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3002
|
+
data_source_xlsx = 'datasource.xlsx'
|
3003
|
+
|
3004
|
+
format = "md"
|
3005
|
+
merge_to_one_sheet = true
|
3006
|
+
|
3007
|
+
|
3008
|
+
mapFiles = { }
|
3009
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3010
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3011
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3012
|
+
@instance.post_merge(request);
|
3013
|
+
end
|
3014
|
+
end
|
3015
|
+
|
3016
|
+
describe 'post_merge_numbers_true test' do
|
3017
|
+
it "should work" do
|
3018
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3019
|
+
data_source_xlsx = 'datasource.xlsx'
|
3020
|
+
|
3021
|
+
format = "numbers"
|
3022
|
+
merge_to_one_sheet = true
|
3023
|
+
|
3024
|
+
|
3025
|
+
mapFiles = { }
|
3026
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3027
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3028
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3029
|
+
@instance.post_merge(request);
|
3030
|
+
end
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
describe 'post_merge_wmf_true test' do
|
3034
|
+
it "should work" do
|
3035
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3036
|
+
data_source_xlsx = 'datasource.xlsx'
|
3037
|
+
|
3038
|
+
format = "wmf"
|
3039
|
+
merge_to_one_sheet = true
|
3040
|
+
|
3041
|
+
|
3042
|
+
mapFiles = { }
|
3043
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3044
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3045
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3046
|
+
@instance.post_merge(request);
|
3047
|
+
end
|
3048
|
+
end
|
3049
|
+
|
3050
|
+
describe 'post_merge_svg_true test' do
|
3051
|
+
it "should work" do
|
3052
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3053
|
+
data_source_xlsx = 'datasource.xlsx'
|
3054
|
+
|
3055
|
+
format = "svg"
|
3056
|
+
merge_to_one_sheet = true
|
3057
|
+
|
3058
|
+
|
3059
|
+
mapFiles = { }
|
3060
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3061
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3062
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3063
|
+
@instance.post_merge(request);
|
3064
|
+
end
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
describe 'post_merge_docx_false test' do
|
3068
|
+
it "should work" do
|
3069
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3070
|
+
data_source_xlsx = 'datasource.xlsx'
|
3071
|
+
|
3072
|
+
format = "docx"
|
3073
|
+
merge_to_one_sheet = false
|
3074
|
+
|
3075
|
+
|
3076
|
+
mapFiles = { }
|
3077
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3078
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3079
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3080
|
+
@instance.post_merge(request);
|
3081
|
+
end
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
describe 'post_merge_pptx_false test' do
|
3085
|
+
it "should work" do
|
3086
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3087
|
+
data_source_xlsx = 'datasource.xlsx'
|
3088
|
+
|
3089
|
+
format = "pptx"
|
3090
|
+
merge_to_one_sheet = false
|
3091
|
+
|
3092
|
+
|
3093
|
+
mapFiles = { }
|
3094
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3095
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3096
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3097
|
+
@instance.post_merge(request);
|
3098
|
+
end
|
3099
|
+
end
|
3100
|
+
|
3101
|
+
describe 'post_merge_json_false test' do
|
3102
|
+
it "should work" do
|
3103
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3104
|
+
data_source_xlsx = 'datasource.xlsx'
|
3105
|
+
|
3106
|
+
format = "json"
|
3107
|
+
merge_to_one_sheet = false
|
3108
|
+
|
3109
|
+
|
3110
|
+
mapFiles = { }
|
3111
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3112
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3113
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3114
|
+
@instance.post_merge(request);
|
3115
|
+
end
|
3116
|
+
end
|
3117
|
+
|
3118
|
+
describe 'post_merge_sql_false test' do
|
3119
|
+
it "should work" do
|
3120
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3121
|
+
data_source_xlsx = 'datasource.xlsx'
|
3122
|
+
|
3123
|
+
format = "sql"
|
3124
|
+
merge_to_one_sheet = false
|
3125
|
+
|
3126
|
+
|
3127
|
+
mapFiles = { }
|
3128
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3129
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3130
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:format=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3131
|
+
@instance.post_merge(request);
|
3132
|
+
end
|
3133
|
+
end
|
3134
|
+
|
3135
|
+
describe 'post_unlock test' do
|
3136
|
+
it "should work" do
|
3137
|
+
need_unlock_xlsx = 'needUnlock.xlsx'
|
3138
|
+
|
3139
|
+
|
3140
|
+
mapFiles = { }
|
3141
|
+
mapFiles[need_unlock_xlsx]= ::File.open(File.expand_path("TestData/"+need_unlock_xlsx),"r")
|
3142
|
+
request = AsposeCellsCloud::PostUnlockRequest.new(:File=>mapFiles,:password=>'123456');
|
3143
|
+
@instance.post_unlock(request);
|
3144
|
+
end
|
3145
|
+
end
|
3146
|
+
|
3147
|
+
describe 'post_protect test' do
|
3148
|
+
it "should work" do
|
3149
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3150
|
+
data_source_xlsx = 'datasource.xlsx'
|
3151
|
+
|
3152
|
+
|
3153
|
+
mapFiles = { }
|
3154
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3155
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3156
|
+
request = AsposeCellsCloud::PostProtectRequest.new(:File=>mapFiles,:password=>'123456');
|
3157
|
+
@instance.post_protect(request);
|
3158
|
+
end
|
3159
|
+
end
|
3160
|
+
|
3161
|
+
describe 'post_search test' do
|
3162
|
+
it "should work" do
|
3163
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3164
|
+
data_source_xlsx = 'datasource.xlsx'
|
3165
|
+
|
3166
|
+
|
3167
|
+
mapFiles = { }
|
3168
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3169
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3170
|
+
request = AsposeCellsCloud::PostSearchRequest.new(:File=>mapFiles,:text=>'12');
|
3171
|
+
@instance.post_search(request);
|
3172
|
+
end
|
3173
|
+
end
|
3174
|
+
|
3175
|
+
describe 'post_replace test' do
|
3176
|
+
it "should work" do
|
3177
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3178
|
+
data_source_xlsx = 'datasource.xlsx'
|
3179
|
+
|
3180
|
+
|
3181
|
+
mapFiles = { }
|
3182
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3183
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3184
|
+
request = AsposeCellsCloud::PostReplaceRequest.new(:File=>mapFiles,:text=>'12',:newtext=>'newtext');
|
3185
|
+
@instance.post_replace(request);
|
3186
|
+
end
|
3187
|
+
end
|
3188
|
+
|
3189
|
+
describe 'post_replace_only_sheetname test' do
|
3190
|
+
it "should work" do
|
3191
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3192
|
+
data_source_xlsx = 'datasource.xlsx'
|
3193
|
+
|
3194
|
+
|
3195
|
+
mapFiles = { }
|
3196
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3197
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3198
|
+
request = AsposeCellsCloud::PostReplaceRequest.new(:File=>mapFiles,:text=>'12',:newtext=>'newtext',:sheetname=>'Sheet1');
|
3199
|
+
@instance.post_replace(request);
|
3200
|
+
end
|
3201
|
+
end
|
3202
|
+
|
3203
|
+
describe 'post_watermark test' do
|
3204
|
+
it "should work" do
|
3205
|
+
assembly_test_xlsx = 'assemblytest.xlsx'
|
3206
|
+
data_source_xlsx = 'datasource.xlsx'
|
3207
|
+
|
3208
|
+
|
3209
|
+
mapFiles = { }
|
3210
|
+
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3211
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3212
|
+
request = AsposeCellsCloud::PostWatermarkRequest.new(:File=>mapFiles,:text=>'aspose.cells cloud sdk',:color=>'#773322');
|
3213
|
+
@instance.post_watermark(request);
|
3214
|
+
end
|
3215
|
+
end
|
3216
|
+
|
3217
|
+
describe 'post_clear_objects_chart test' do
|
3218
|
+
it "should work" do
|
3219
|
+
book1_xlsx = 'Book1.xlsx'
|
3220
|
+
data_source_xlsx = 'datasource.xlsx'
|
3221
|
+
|
3222
|
+
objecttype = "chart"
|
3223
|
+
|
3224
|
+
|
3225
|
+
mapFiles = { }
|
3226
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3227
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3228
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3229
|
+
@instance.post_clear_objects(request);
|
3230
|
+
end
|
3231
|
+
end
|
3232
|
+
|
3233
|
+
describe 'post_clear_objects_comment test' do
|
3234
|
+
it "should work" do
|
3235
|
+
book1_xlsx = 'Book1.xlsx'
|
3236
|
+
data_source_xlsx = 'datasource.xlsx'
|
3237
|
+
|
3238
|
+
objecttype = "comment"
|
3239
|
+
|
3240
|
+
|
3241
|
+
mapFiles = { }
|
3242
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3243
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3244
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3245
|
+
@instance.post_clear_objects(request);
|
3246
|
+
end
|
3247
|
+
end
|
3248
|
+
|
3249
|
+
describe 'post_clear_objects_picture test' do
|
3250
|
+
it "should work" do
|
3251
|
+
book1_xlsx = 'Book1.xlsx'
|
3252
|
+
data_source_xlsx = 'datasource.xlsx'
|
3253
|
+
|
3254
|
+
objecttype = "picture"
|
3255
|
+
|
3256
|
+
|
3257
|
+
mapFiles = { }
|
3258
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3259
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3260
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3261
|
+
@instance.post_clear_objects(request);
|
3262
|
+
end
|
3263
|
+
end
|
3264
|
+
|
3265
|
+
describe 'post_clear_objects_shape test' do
|
3266
|
+
it "should work" do
|
3267
|
+
book1_xlsx = 'Book1.xlsx'
|
3268
|
+
data_source_xlsx = 'datasource.xlsx'
|
3269
|
+
|
3270
|
+
objecttype = "shape"
|
3271
|
+
|
3272
|
+
|
3273
|
+
mapFiles = { }
|
3274
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3275
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3276
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3277
|
+
@instance.post_clear_objects(request);
|
3278
|
+
end
|
3279
|
+
end
|
3280
|
+
|
3281
|
+
describe 'post_clear_objects_listobject test' do
|
3282
|
+
it "should work" do
|
3283
|
+
book1_xlsx = 'Book1.xlsx'
|
3284
|
+
data_source_xlsx = 'datasource.xlsx'
|
3285
|
+
|
3286
|
+
objecttype = "listobject"
|
3287
|
+
|
3288
|
+
|
3289
|
+
mapFiles = { }
|
3290
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3291
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3292
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3293
|
+
@instance.post_clear_objects(request);
|
3294
|
+
end
|
3295
|
+
end
|
3296
|
+
|
3297
|
+
describe 'post_clear_objects_hyperlink test' do
|
3298
|
+
it "should work" do
|
3299
|
+
book1_xlsx = 'Book1.xlsx'
|
3300
|
+
data_source_xlsx = 'datasource.xlsx'
|
3301
|
+
|
3302
|
+
objecttype = "hyperlink"
|
3303
|
+
|
3304
|
+
|
3305
|
+
mapFiles = { }
|
3306
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3307
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3308
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3309
|
+
@instance.post_clear_objects(request);
|
3310
|
+
end
|
3311
|
+
end
|
3312
|
+
|
3313
|
+
describe 'post_clear_objects_oleobject test' do
|
3314
|
+
it "should work" do
|
3315
|
+
book1_xlsx = 'Book1.xlsx'
|
3316
|
+
data_source_xlsx = 'datasource.xlsx'
|
3317
|
+
|
3318
|
+
objecttype = "oleobject"
|
3319
|
+
|
3320
|
+
|
3321
|
+
mapFiles = { }
|
3322
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3323
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3324
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3325
|
+
@instance.post_clear_objects(request);
|
3326
|
+
end
|
3327
|
+
end
|
3328
|
+
|
3329
|
+
describe 'post_clear_objects_pivottable test' do
|
3330
|
+
it "should work" do
|
3331
|
+
book1_xlsx = 'Book1.xlsx'
|
3332
|
+
data_source_xlsx = 'datasource.xlsx'
|
3333
|
+
|
3334
|
+
objecttype = "pivottable"
|
3335
|
+
|
3336
|
+
|
3337
|
+
mapFiles = { }
|
3338
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3339
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3340
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3341
|
+
@instance.post_clear_objects(request);
|
3342
|
+
end
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
describe 'post_clear_objects_validation test' do
|
3346
|
+
it "should work" do
|
3347
|
+
book1_xlsx = 'Book1.xlsx'
|
3348
|
+
data_source_xlsx = 'datasource.xlsx'
|
3349
|
+
|
3350
|
+
objecttype = "validation"
|
3351
|
+
|
3352
|
+
|
3353
|
+
mapFiles = { }
|
3354
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3355
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3356
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3357
|
+
@instance.post_clear_objects(request);
|
3358
|
+
end
|
3359
|
+
end
|
3360
|
+
|
3361
|
+
describe 'post_clear_objects__background test' do
|
3362
|
+
it "should work" do
|
3363
|
+
book1_xlsx = 'Book1.xlsx'
|
3364
|
+
data_source_xlsx = 'datasource.xlsx'
|
3365
|
+
|
3366
|
+
objecttype = "Background"
|
3367
|
+
|
3368
|
+
|
3369
|
+
mapFiles = { }
|
3370
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3371
|
+
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3372
|
+
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3373
|
+
@instance.post_clear_objects(request);
|
3374
|
+
end
|
3375
|
+
end
|
3376
|
+
describe 'post_repair_xlsx test' do
|
3377
|
+
it "should work" do
|
3378
|
+
book1_xlsx = 'Book1.xlsx'
|
3379
|
+
|
3380
|
+
format = "xlsx"
|
3381
|
+
|
3382
|
+
|
3383
|
+
mapFiles = { }
|
3384
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3385
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:format=>format);
|
3386
|
+
@instance.post_repair(request);
|
3387
|
+
end
|
3388
|
+
end
|
3389
|
+
|
3390
|
+
describe 'post_repair_pdf test' do
|
3391
|
+
it "should work" do
|
3392
|
+
book1_xlsx = 'Book1.xlsx'
|
3393
|
+
|
3394
|
+
format = "pdf"
|
3395
|
+
|
3396
|
+
|
3397
|
+
mapFiles = { }
|
3398
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3399
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:format=>format);
|
3400
|
+
@instance.post_repair(request);
|
3401
|
+
end
|
3402
|
+
end
|
3403
|
+
|
3404
|
+
describe 'post_repair_csv test' do
|
3405
|
+
it "should work" do
|
3406
|
+
book1_xlsx = 'Book1.xlsx'
|
3407
|
+
|
3408
|
+
format = "csv"
|
3409
|
+
|
3410
|
+
|
3411
|
+
mapFiles = { }
|
3412
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3413
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:format=>format);
|
3414
|
+
@instance.post_repair(request);
|
3415
|
+
end
|
3416
|
+
end
|
3417
|
+
|
3418
|
+
describe 'post_repair_png test' do
|
3419
|
+
it "should work" do
|
3420
|
+
book1_xlsx = 'Book1.xlsx'
|
3421
|
+
|
3422
|
+
format = "png"
|
3423
|
+
|
3424
|
+
|
3425
|
+
mapFiles = { }
|
3426
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3427
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:format=>format);
|
3428
|
+
@instance.post_repair(request);
|
3429
|
+
end
|
3430
|
+
end
|
3431
|
+
|
3432
|
+
|
3433
|
+
describe 'post_reverse_rows_pdf test' do
|
3434
|
+
it "should work" do
|
3435
|
+
book1_xlsx = 'Book1.xlsx'
|
3436
|
+
|
3437
|
+
rotate_type = "rows"
|
3438
|
+
format = "pdf"
|
3439
|
+
|
3440
|
+
|
3441
|
+
mapFiles = { }
|
3442
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3443
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:format=>format);
|
3444
|
+
@instance.post_reverse(request);
|
3445
|
+
end
|
3446
|
+
end
|
3447
|
+
|
3448
|
+
describe 'post_reverse_cols_pdf test' do
|
3449
|
+
it "should work" do
|
3450
|
+
book1_xlsx = 'Book1.xlsx'
|
3451
|
+
|
3452
|
+
rotate_type = "cols"
|
3453
|
+
format = "pdf"
|
3454
|
+
|
3455
|
+
|
3456
|
+
mapFiles = { }
|
3457
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3458
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:format=>format);
|
3459
|
+
@instance.post_reverse(request);
|
3460
|
+
end
|
3461
|
+
end
|
3462
|
+
|
3463
|
+
describe 'post_reverse_both_pdf test' do
|
3464
|
+
it "should work" do
|
3465
|
+
book1_xlsx = 'Book1.xlsx'
|
3466
|
+
|
3467
|
+
rotate_type = "both"
|
3468
|
+
format = "pdf"
|
3469
|
+
|
3470
|
+
|
3471
|
+
mapFiles = { }
|
3472
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3473
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:format=>format);
|
3474
|
+
@instance.post_reverse(request);
|
3475
|
+
end
|
3476
|
+
end
|
3477
|
+
|
3478
|
+
describe 'post_reverse_rows_csv test' do
|
3479
|
+
it "should work" do
|
3480
|
+
book1_xlsx = 'Book1.xlsx'
|
3481
|
+
|
3482
|
+
rotate_type = "rows"
|
3483
|
+
format = "csv"
|
3484
|
+
|
3485
|
+
|
3486
|
+
mapFiles = { }
|
3487
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3488
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:format=>format);
|
3489
|
+
@instance.post_reverse(request);
|
3490
|
+
end
|
3491
|
+
end
|
3492
|
+
|
3493
|
+
describe 'post_reverse_cols_png test' do
|
3494
|
+
it "should work" do
|
3495
|
+
book1_xlsx = 'Book1.xlsx'
|
3496
|
+
|
3497
|
+
rotate_type = "cols"
|
3498
|
+
format = "png"
|
3499
|
+
|
3500
|
+
|
3501
|
+
mapFiles = { }
|
3502
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3503
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:format=>format);
|
3504
|
+
@instance.post_reverse(request);
|
3505
|
+
end
|
3506
|
+
end
|
3507
|
+
|
3508
|
+
describe 'post_reverse_both_xlsx test' do
|
3509
|
+
it "should work" do
|
3510
|
+
book1_xlsx = 'Book1.xlsx'
|
3511
|
+
|
3512
|
+
rotate_type = "both"
|
3513
|
+
format = "xlsx"
|
3514
|
+
|
3515
|
+
|
3516
|
+
mapFiles = { }
|
3517
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3518
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:format=>format);
|
3519
|
+
@instance.post_reverse(request);
|
3520
|
+
end
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
describe 'get_metadata test' do
|
3524
|
+
it "should work" do
|
3525
|
+
book1_xlsx = 'Book1.xlsx'
|
3526
|
+
|
3527
|
+
|
3528
|
+
mapFiles = { }
|
3529
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3530
|
+
request = AsposeCellsCloud::GetMetadataRequest.new(:File=>mapFiles,:type=>'all');
|
3531
|
+
@instance.get_metadata(request);
|
3532
|
+
end
|
3533
|
+
end
|
3534
|
+
|
3535
|
+
describe 'delete_metadata test' do
|
3536
|
+
it "should work" do
|
3537
|
+
book1_xlsx = 'Book1.xlsx'
|
3538
|
+
|
3539
|
+
|
3540
|
+
mapFiles = { }
|
3541
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3542
|
+
request = AsposeCellsCloud::DeleteMetadataRequest.new(:File=>mapFiles,:type=>'all');
|
3543
|
+
@instance.delete_metadata(request);
|
3544
|
+
end
|
3545
|
+
end
|
3546
|
+
|
3547
|
+
describe 'post_metadata test' do
|
3548
|
+
it "should work" do
|
3549
|
+
book1_xlsx = 'Book1.xlsx'
|
3550
|
+
|
3551
|
+
|
3552
|
+
mapFiles = { }
|
3553
|
+
cellsDocumentscellsDocument0 = AsposeCellsCloud::CellsDocumentProperty.new(:Name=>'Author' ,:Value=>'roy.wang' );
|
3554
|
+
cellsDocuments = [
|
3555
|
+
cellsDocumentscellsDocument0
|
3556
|
+
];
|
3557
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3558
|
+
request = AsposeCellsCloud::PostMetadataRequest.new(:File=>mapFiles,:cellsDocuments=>cellsDocuments);
|
3559
|
+
@instance.post_metadata(request);
|
3560
|
+
end
|
3561
|
+
end
|
3562
|
+
end
|