aspose_cells_cloud 23.9 → 23.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +4 -1
- data/README.md +5 -7
- data/lib/aspose_cells_cloud/api/cells_api.rb +2 -2
- data/lib/aspose_cells_cloud/models/above_average.rb +3 -3
- data/lib/aspose_cells_cloud/models/arc_shape.rb +6 -6
- data/lib/aspose_cells_cloud/models/area.rb +5 -5
- data/lib/aspose_cells_cloud/models/auto_filter.rb +4 -4
- data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +9 -9
- data/lib/aspose_cells_cloud/models/axis.rb +34 -34
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +7 -7
- data/lib/aspose_cells_cloud/models/batch_lock_request.rb +6 -6
- data/lib/aspose_cells_cloud/models/batch_protect_request.rb +6 -6
- data/lib/aspose_cells_cloud/models/batch_split_request.rb +9 -9
- data/lib/aspose_cells_cloud/models/border.rb +4 -4
- data/lib/aspose_cells_cloud/models/calculation_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/cell.rb +15 -15
- data/lib/aspose_cells_cloud/models/cells.rb +4 -4
- data/lib/aspose_cells_cloud/models/cells_color.rb +7 -7
- data/lib/aspose_cells_cloud/models/chart.rb +43 -43
- data/lib/aspose_cells_cloud/models/chart_data_table.rb +8 -8
- data/lib/aspose_cells_cloud/models/chart_frame.rb +13 -13
- data/lib/aspose_cells_cloud/models/chart_point.rb +8 -8
- data/lib/aspose_cells_cloud/models/check_box.rb +3 -3
- data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/color_filter_request.rb +3 -3
- data/lib/aspose_cells_cloud/models/color_scale.rb +6 -6
- data/lib/aspose_cells_cloud/models/column.rb +5 -5
- data/lib/aspose_cells_cloud/models/combo_box.rb +5 -5
- data/lib/aspose_cells_cloud/models/comment.rb +10 -10
- data/lib/aspose_cells_cloud/models/comment_shape.rb +1 -1
- data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +3 -3
- data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +3 -3
- data/lib/aspose_cells_cloud/models/copy_options.rb +6 -6
- data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +7 -7
- data/lib/aspose_cells_cloud/models/custom_filter.rb +2 -2
- data/lib/aspose_cells_cloud/models/custom_parser_config.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_bar.rb +12 -12
- data/lib/aspose_cells_cloud/models/data_bar_border.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_labels.rb +13 -13
- data/lib/aspose_cells_cloud/models/data_sorter.rb +21 -9
- data/lib/aspose_cells_cloud/models/data_sorter_key.rb +270 -0
- data/lib/aspose_cells_cloud/models/date_time_group_item.rb +7 -7
- data/lib/aspose_cells_cloud/models/digital_signature.rb +8 -8
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -1
- data/lib/aspose_cells_cloud/models/drop_bars.rb +2 -2
- data/lib/aspose_cells_cloud/models/dynamic_filter.rb +3 -3
- data/lib/aspose_cells_cloud/models/error_bar.rb +6 -6
- data/lib/aspose_cells_cloud/models/fill_format.rb +6 -6
- data/lib/aspose_cells_cloud/models/filter_column.rb +3 -3
- data/lib/aspose_cells_cloud/models/floor.rb +1 -1
- data/lib/aspose_cells_cloud/models/font.rb +10 -10
- data/lib/aspose_cells_cloud/models/font_setting.rb +5 -5
- data/lib/aspose_cells_cloud/models/format_condition.rb +14 -14
- data/lib/aspose_cells_cloud/models/formula_format_condition.rb +3 -3
- data/lib/aspose_cells_cloud/models/gradient_fill.rb +4 -4
- data/lib/aspose_cells_cloud/models/group_box.rb +1 -1
- data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +3 -3
- data/lib/aspose_cells_cloud/models/html_save_options.rb +30 -30
- data/lib/aspose_cells_cloud/models/hyperlink.rb +5 -5
- data/lib/aspose_cells_cloud/models/icon_filter.rb +2 -2
- data/lib/aspose_cells_cloud/models/icon_set.rb +5 -5
- data/lib/aspose_cells_cloud/models/image_or_print_options.rb +8 -8
- data/lib/aspose_cells_cloud/models/image_save_options.rb +12 -12
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/json_save_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/label.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend.rb +2 -2
- data/lib/aspose_cells_cloud/models/legend_entry.rb +4 -4
- data/lib/aspose_cells_cloud/models/line.rb +19 -19
- data/lib/aspose_cells_cloud/models/line_format.rb +11 -11
- data/lib/aspose_cells_cloud/models/line_shape.rb +6 -6
- data/lib/aspose_cells_cloud/models/list_box.rb +6 -6
- data/lib/aspose_cells_cloud/models/list_column.rb +4 -4
- data/lib/aspose_cells_cloud/models/list_object.rb +21 -21
- data/lib/aspose_cells_cloud/models/load_options.rb +8 -8
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +12 -12
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +3 -3
- data/lib/aspose_cells_cloud/models/marker.rb +4 -4
- data/lib/aspose_cells_cloud/models/match_condition_request.rb +2 -2
- data/lib/aspose_cells_cloud/models/name.rb +6 -6
- data/lib/aspose_cells_cloud/models/negative_bar_format.rb +4 -4
- data/lib/aspose_cells_cloud/models/ole_object.rb +7 -7
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +5 -5
- data/lib/aspose_cells_cloud/models/page_setup.rb +34 -34
- data/lib/aspose_cells_cloud/models/password_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/paste_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/pattern_fill.rb +7 -7
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +19 -19
- data/lib/aspose_cells_cloud/models/pic_format_option.rb +6 -6
- data/lib/aspose_cells_cloud/models/picture.rb +5 -5
- data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/plot_area.rb +4 -4
- data/lib/aspose_cells_cloud/models/{protect_workbook_requst.rb → protect_workbook_request.rb} +18 -18
- data/lib/aspose_cells_cloud/models/protection.rb +17 -17
- data/lib/aspose_cells_cloud/models/query_table.rb +5 -5
- data/lib/aspose_cells_cloud/models/radio_button.rb +3 -3
- data/lib/aspose_cells_cloud/models/range.rb +9 -9
- data/lib/aspose_cells_cloud/models/range_copy_request.rb +4 -4
- data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +4 -4
- data/lib/aspose_cells_cloud/models/range_set_style_request.rb +2 -2
- data/lib/aspose_cells_cloud/models/range_sort_request.rb +2 -2
- data/lib/aspose_cells_cloud/models/row.rb +7 -7
- data/lib/aspose_cells_cloud/models/save_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/scroll_bar.rb +7 -7
- data/lib/aspose_cells_cloud/models/series.rb +47 -47
- data/lib/aspose_cells_cloud/models/shadow_effect.rb +7 -7
- data/lib/aspose_cells_cloud/models/shape.rb +36 -36
- data/lib/aspose_cells_cloud/models/solid_fill.rb +3 -3
- data/lib/aspose_cells_cloud/models/sparkline.rb +3 -3
- data/lib/aspose_cells_cloud/models/sparkline_group.rb +27 -27
- data/lib/aspose_cells_cloud/models/spinner.rb +5 -5
- data/lib/aspose_cells_cloud/models/split_result_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +3 -3
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +14 -14
- data/lib/aspose_cells_cloud/models/style.rb +22 -22
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/table_total_request.rb +3 -3
- data/lib/aspose_cells_cloud/models/text_format_condition.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +4 -4
- data/lib/aspose_cells_cloud/models/texture_fill.rb +5 -5
- data/lib/aspose_cells_cloud/models/theme_color.rb +2 -2
- data/lib/aspose_cells_cloud/models/tick_labels.rb +11 -11
- data/lib/aspose_cells_cloud/models/tile_pic_option.rb +6 -6
- data/lib/aspose_cells_cloud/models/time_period_format_condition.rb +1 -1
- data/lib/aspose_cells_cloud/models/title.rb +2 -2
- data/lib/aspose_cells_cloud/models/top10.rb +3 -3
- data/lib/aspose_cells_cloud/models/top10_filter.rb +4 -4
- data/lib/aspose_cells_cloud/models/trendline.rb +12 -12
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/validation.rb +16 -16
- data/lib/aspose_cells_cloud/models/vertical_page_break.rb +3 -3
- data/lib/aspose_cells_cloud/models/walls.rb +5 -5
- data/lib/aspose_cells_cloud/models/workbook.rb +4 -4
- data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbook_settings.rb +44 -44
- data/lib/aspose_cells_cloud/models/worksheet.rb +29 -29
- data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/requests/delete_un_protect_workbook_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/post_protect_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_sort_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/{post_worksheet_cells_ranges_request.rb → post_worksheet_cells_ranges_copy_request.rb} +8 -8
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +16 -16
- data/spec/api/list_objects_controller_spec.rb +1 -0
- data/spec/api/pivot_tables_controller_spec.rb +3 -3
- data/spec/api/ranges_controller_spec.rb +8 -7
- data/spec/api/workbook_controller_spec.rb +3 -4
- data/spec/document/light_cells_spec.rb +17 -3
- data/spec/one_case_spec.rb +4 -5
- metadata +5 -6
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +0 -330
- data/spec/onecase_spec.rb +0 -28
@@ -31,29 +31,29 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class MHtmlSaveOptions
|
34
|
-
#
|
34
|
+
#The directory that the attached files will be saved to. Only for saving to html stream.
|
35
35
|
attr_accessor :attached_files_directory
|
36
|
-
#
|
36
|
+
#Specify the Url prefix of attached files such as image in the html file. Only for saving to html stream.
|
37
37
|
attr_accessor :attached_files_url_prefix
|
38
|
-
#
|
38
|
+
#If not set,use Encoding.UTF8 as default enconding type.
|
39
39
|
attr_accessor :encoding
|
40
|
-
#
|
40
|
+
#Indicates if exporting the whole workbook to html file.
|
41
41
|
attr_accessor :export_active_worksheet_only
|
42
|
-
#
|
42
|
+
#Get or set the format of chart image before exporting
|
43
43
|
attr_accessor :export_chart_image_format
|
44
|
-
#
|
44
|
+
#Specifies whether images are saved in Base64 format to HTML, MHTML or EPUB.
|
45
45
|
attr_accessor :export_images_as_base64
|
46
|
-
#
|
46
|
+
#Hidden column(the width of this column is 0) in excel,before save this into html format, if HtmlHiddenColDisplayType is "Remove",the hidden column would ont been output, if the value is "Hidden", the column would been output,but was hidden,the default value is "Hidden"
|
47
47
|
attr_accessor :hidden_col_display_type
|
48
|
-
#
|
48
|
+
#Hidden row(the height of this row is 0) in excel,before save this into html format, if HtmlHiddenRowDisplayType is "Remove",the hidden row would ont been output, if the value is "Hidden", the row would been output,but was hidden,the default value is "Hidden"
|
49
49
|
attr_accessor :hidden_row_display_type
|
50
|
-
#
|
50
|
+
#Indicates if a cross-cell string will be displayed in the same way as MS Excel when saving an Excel file in html format. By default the value is Default, so, for cross-cell strings, there is little difference between the html files created by Aspose.Cells and MS Excel. But the performance for creating large html files,setting the value to Cross would be several times faster than setting it to Default or Fit2Cell.
|
51
51
|
attr_accessor :html_cross_string_type
|
52
|
-
#
|
52
|
+
#Indicates if export image files to temp directory. Only for saving to html stream.
|
53
53
|
attr_accessor :is_exp_image_to_temp_dir
|
54
|
-
#
|
54
|
+
#The title of the html page. Only for saving to html stream.
|
55
55
|
attr_accessor :page_title
|
56
|
-
#
|
56
|
+
#Parse html tag in cell,like ,as cell value,or as html tag,default is true
|
57
57
|
attr_accessor :parse_html_tag_in_cell
|
58
58
|
#
|
59
59
|
attr_accessor :save_format
|
@@ -31,11 +31,11 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class MarkdownSaveOptions
|
34
|
-
#
|
34
|
+
#Gets and sets the default encoding.
|
35
35
|
attr_accessor :encoding
|
36
|
-
#
|
36
|
+
#The Data provider to provide cells data for saving workbook in light mode.
|
37
37
|
attr_accessor :format_strategy
|
38
|
-
#
|
38
|
+
#Gets and sets the line separator.
|
39
39
|
attr_accessor :line_separator
|
40
40
|
#
|
41
41
|
attr_accessor :save_format
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class Marker
|
34
|
-
#
|
34
|
+
#Gets the border.
|
35
35
|
attr_accessor :border
|
36
|
-
#
|
36
|
+
#Gets the area.
|
37
37
|
attr_accessor :area
|
38
|
-
#
|
38
|
+
#Represents the marker size in unit of points. Applies to line chart, scatter chart, or radar chart.
|
39
39
|
attr_accessor :marker_size
|
40
|
-
#
|
40
|
+
#Represents the marker style. Applies to line chart, scatter chart, or radar chart.
|
41
41
|
attr_accessor :marker_style
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,9 +31,9 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class MatchConditionRequest
|
34
|
-
#
|
34
|
+
#Regex Pattern.
|
35
35
|
attr_accessor :regex_pattern
|
36
|
-
#
|
36
|
+
#Name list.
|
37
37
|
attr_accessor :full_match_conditions
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,19 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class Name
|
34
|
-
#
|
34
|
+
#Gets and sets the comment of the name. Only applies for Excel 2007.
|
35
35
|
attr_accessor :comment
|
36
36
|
#
|
37
37
|
attr_accessor :worksheet_index
|
38
|
-
#
|
38
|
+
#Indicates whether this name is referred by other formulas.
|
39
39
|
attr_accessor :is_referred
|
40
|
-
#
|
40
|
+
#Indicates whether the name is visible.
|
41
41
|
attr_accessor :is_visible
|
42
|
-
#
|
42
|
+
#Gets or sets a R1C1 reference of the .
|
43
43
|
attr_accessor :r1_c1_refers_to
|
44
|
-
#
|
44
|
+
#Returns or sets the formula that the name is defined to refer to, beginning with an equal sign.
|
45
45
|
attr_accessor :refers_to
|
46
|
-
#
|
46
|
+
#Gets the name text of the object.
|
47
47
|
attr_accessor :text
|
48
48
|
#
|
49
49
|
attr_accessor :link
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class NegativeBarFormat
|
34
|
-
#Gets or sets a FormatColor object that you can use to specify the border
|
34
|
+
#Gets or sets a FormatColor object that you can use to specify the border color for negative data bars.
|
35
35
|
attr_accessor :border_color
|
36
|
-
#Gets whether to use the same border color as positive data bars.
|
36
|
+
#Gets whether to use the same border color as positive data bars.
|
37
37
|
attr_accessor :border_color_type
|
38
|
-
#Gets or sets a FormatColor object that you can use to specify the fill color
|
38
|
+
#Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars.
|
39
39
|
attr_accessor :color
|
40
|
-
#Gets or sets whether to use the same fill color as positive data bars.
|
40
|
+
#Gets or sets whether to use the same fill color as positive data bars.
|
41
41
|
attr_accessor :color_type
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,19 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class OleObject
|
34
|
-
#
|
34
|
+
#True if the specified object is displayed as an icon and the image will not be auto changed.
|
35
35
|
attr_accessor :display_as_icon
|
36
|
-
#
|
36
|
+
#Gets and sets the file type of the embedded ole object data
|
37
37
|
attr_accessor :file_format_type
|
38
|
-
#
|
38
|
+
#Gets or sets the path and name of the source file for the linked image.
|
39
39
|
attr_accessor :image_source_full_name
|
40
|
-
#
|
40
|
+
#True indicates that the size of the ole object will be auto changed as the size of snapshot of the embedded content when the ole object is activated.
|
41
41
|
attr_accessor :is_auto_size
|
42
|
-
#
|
42
|
+
#Returns true if the OleObject links to the file.
|
43
43
|
attr_accessor :is_link
|
44
|
-
#
|
44
|
+
#Gets or sets the ProgID of the OLE object.
|
45
45
|
attr_accessor :prog_id
|
46
|
-
#
|
46
|
+
#Returns the source full name of the source file for the linked OLE object.
|
47
47
|
attr_accessor :source_full_name
|
48
48
|
#
|
49
49
|
attr_accessor :name
|
@@ -31,15 +31,15 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class OoxmlSaveOptions
|
34
|
-
#
|
34
|
+
#Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is false.
|
35
35
|
attr_accessor :export_cell_name
|
36
|
-
#
|
36
|
+
#Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
|
37
37
|
attr_accessor :update_zoom
|
38
|
-
#
|
38
|
+
#Always use ZIP64 extensions when writing zip archives, even when unnecessary.
|
39
39
|
attr_accessor :enable_zip64
|
40
|
-
#
|
40
|
+
#Indicates whether embedding Ooxml files of OleObject as ole object.
|
41
41
|
attr_accessor :embed_ooxml_as_ole_object
|
42
|
-
#
|
42
|
+
#Gets and sets the compression type for ooxml file.
|
43
43
|
attr_accessor :compression_type
|
44
44
|
#
|
45
45
|
attr_accessor :save_format
|
@@ -31,73 +31,73 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PageSetup
|
34
|
-
#
|
34
|
+
#Represents if elements of the document will be printed in black and white.
|
35
35
|
attr_accessor :black_and_white
|
36
|
-
#
|
36
|
+
#Represents the size of the bottom margin, in unit of centimeters.
|
37
37
|
attr_accessor :bottom_margin
|
38
|
-
#
|
38
|
+
#Represent if the sheet is printed centered horizontally.
|
39
39
|
attr_accessor :center_horizontally
|
40
|
-
#
|
40
|
+
#Represent if the sheet is printed centered vertically.
|
41
41
|
attr_accessor :center_vertically
|
42
|
-
#
|
42
|
+
#Represents the first page number that will be used when this sheet is printed.
|
43
43
|
attr_accessor :first_page_number
|
44
|
-
#
|
44
|
+
#Represents the number of pages tall the worksheet will be scaled to when it's printed. The default value is 1.
|
45
45
|
attr_accessor :fit_to_pages_tall
|
46
|
-
#
|
46
|
+
#Represents the number of pages wide the worksheet will be scaled to when it's printed. The default value is 1.
|
47
47
|
attr_accessor :fit_to_pages_wide
|
48
|
-
#
|
48
|
+
#Represents the distance from the bottom of the page to the footer, in unit of centimeters.
|
49
49
|
attr_accessor :footer_margin
|
50
|
-
#
|
50
|
+
#Represents the distance from the top of the page to the header, in unit of centimeters.
|
51
51
|
attr_accessor :header_margin
|
52
|
-
#
|
52
|
+
#Indicates whether the first the page number is automatically assigned.
|
53
53
|
attr_accessor :is_auto_first_page_number
|
54
|
-
#
|
54
|
+
#Indicates whether header and footer margins are aligned with the page margins. If this property is true, the left header and footer will be aligned with the left margin, and the right header and footer will be aligned with the right margin. This option is enabled by default.
|
55
55
|
attr_accessor :is_hf_align_margins
|
56
|
-
#
|
56
|
+
#True means that the header/footer of the first page is different with other pages.
|
57
57
|
attr_accessor :is_hf_diff_first
|
58
|
-
#
|
58
|
+
#True means that the header/footer of the odd pages is different with odd pages.
|
59
59
|
attr_accessor :is_hf_diff_odd_even
|
60
|
-
#
|
60
|
+
#Indicates whether header and footer are scaled with document scaling. Only applies for Excel 2007.
|
61
61
|
attr_accessor :is_hf_scale_with_doc
|
62
|
-
#
|
62
|
+
#If this property is False, the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled.
|
63
63
|
attr_accessor :is_percent_scale
|
64
|
-
#
|
64
|
+
#Represents the size of the left margin, in unit of centimeters.
|
65
65
|
attr_accessor :left_margin
|
66
|
-
#
|
66
|
+
#Represents the order that Microsoft Excel uses to number pages when printing a large worksheet.
|
67
67
|
attr_accessor :order
|
68
|
-
#
|
68
|
+
#Represents page print orientation.
|
69
69
|
attr_accessor :orientation
|
70
|
-
#
|
70
|
+
#Represents the size of the paper.
|
71
71
|
attr_accessor :paper_size
|
72
|
-
#
|
72
|
+
#Represents the range to be printed.
|
73
73
|
attr_accessor :print_area
|
74
|
-
#
|
74
|
+
#Represents the way comments are printed with the sheet.
|
75
75
|
attr_accessor :print_comments
|
76
|
-
#
|
76
|
+
#Get and sets number of copies to print.
|
77
77
|
attr_accessor :print_copies
|
78
|
-
#
|
78
|
+
#Represents if the sheet will be printed without graphics.
|
79
79
|
attr_accessor :print_draft
|
80
|
-
#
|
80
|
+
#Specifies the type of print error displayed.
|
81
81
|
attr_accessor :print_errors
|
82
|
-
#
|
82
|
+
#Represents if cell gridlines are printed on the page.
|
83
83
|
attr_accessor :print_gridlines
|
84
|
-
#
|
84
|
+
#Represents if row and column headings are printed with this page.
|
85
85
|
attr_accessor :print_headings
|
86
|
-
#
|
86
|
+
#Represents the print quality.
|
87
87
|
attr_accessor :print_quality
|
88
|
-
#
|
88
|
+
#Represents the columns that contain the cells to be repeated on the left side of each page.
|
89
89
|
attr_accessor :print_title_columns
|
90
|
-
#
|
90
|
+
#Represents the rows that contain the cells to be repeated at the top of each page.
|
91
91
|
attr_accessor :print_title_rows
|
92
|
-
#
|
92
|
+
#Represents the size of the right margin, in unit of centimeters.
|
93
93
|
attr_accessor :right_margin
|
94
|
-
#
|
94
|
+
#Represents the size of the top margin, in unit of centimeters.
|
95
95
|
attr_accessor :top_margin
|
96
|
-
#
|
96
|
+
#Represents the scaling factor in percent. It should be between 10 and 400.
|
97
97
|
attr_accessor :zoom
|
98
|
-
#
|
98
|
+
#Represents the page header.
|
99
99
|
attr_accessor :header
|
100
|
-
#
|
100
|
+
#Represents the page footor.
|
101
101
|
attr_accessor :footer
|
102
102
|
#
|
103
103
|
attr_accessor :link
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PasteOptions
|
34
|
-
#
|
34
|
+
#True means only copying visible cells.
|
35
35
|
attr_accessor :only_visible_cells
|
36
|
-
#
|
36
|
+
#The paste special type.
|
37
37
|
attr_accessor :paste_type
|
38
|
-
#
|
38
|
+
#Indicates whether skips blank cells.
|
39
39
|
attr_accessor :skip_blanks
|
40
|
-
#
|
40
|
+
#True to transpose rows and columns when the range is pasted. The default value is False.
|
41
41
|
attr_accessor :transpose
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,19 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PatternFill
|
34
|
-
#
|
34
|
+
#Gets or sets the fill pattern type
|
35
35
|
attr_accessor :pattern
|
36
|
-
#
|
36
|
+
#Gets and sets the foreground object.
|
37
37
|
attr_accessor :background_cells_color
|
38
|
-
#
|
38
|
+
#Gets and sets the foreground object.
|
39
39
|
attr_accessor :foreground_cells_color
|
40
|
-
#
|
40
|
+
#Gets or sets the foreground .
|
41
41
|
attr_accessor :foreground_color
|
42
|
-
#
|
42
|
+
#Gets or sets the background of the .
|
43
43
|
attr_accessor :background_color
|
44
|
-
#
|
44
|
+
#Gets or sets the transparency of background color.
|
45
45
|
attr_accessor :back_transparency
|
46
|
-
#
|
46
|
+
#Gets or sets the transparency of foreground color.
|
47
47
|
attr_accessor :fore_transparency
|
48
48
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,43 +31,43 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PdfSaveOptions
|
34
|
-
#
|
34
|
+
#Indicates whether the window's title bar should display the document title.
|
35
35
|
attr_accessor :display_doc_title
|
36
|
-
#
|
36
|
+
#Indicates whether to export document structure.
|
37
37
|
attr_accessor :export_document_structure
|
38
|
-
#
|
38
|
+
#Setting for rendering Emf metafile.
|
39
39
|
attr_accessor :emf_render_setting
|
40
|
-
#
|
40
|
+
#Specifies the way CustomDocumentPropertyCollection are exported to PDF file.
|
41
41
|
attr_accessor :custom_properties_export
|
42
|
-
#
|
42
|
+
#Gets and sets pdf optimization type.
|
43
43
|
attr_accessor :optimization_type
|
44
|
-
#
|
44
|
+
#Gets and sets producer of generated pdf document.
|
45
45
|
attr_accessor :producer
|
46
|
-
#
|
46
|
+
#Indicate the compression algorithm.
|
47
47
|
attr_accessor :pdf_compression
|
48
|
-
#
|
48
|
+
#Gets or sets embedded font encoding in pdf.
|
49
49
|
attr_accessor :font_encoding
|
50
|
-
#
|
50
|
+
#Gets or sets watermark to output.
|
51
51
|
attr_accessor :watermark
|
52
|
-
#
|
52
|
+
#Indicates whether calculate formulas before saving pdf file.The default value is false.
|
53
53
|
attr_accessor :calculate_formula
|
54
|
-
#
|
54
|
+
#Indicates whether check font compatibility for every character in text. The default value is true. Disable this property may give better performance. But when the default or specified font of text/character cannot be used to render it, unreadable characters(such as block) maybe occur in the generated pdf. For such situation user should keep this property as true so that alternative font can be searched and used to render the text instead;
|
55
55
|
attr_accessor :check_font_compatibility
|
56
|
-
#
|
56
|
+
#Workbook converts to pdf will according to PdfCompliance in this property.
|
57
57
|
attr_accessor :compliance
|
58
|
-
#
|
58
|
+
#When characters in the Excel are unicode and not be set with correct font in cell style, They may appear as block in pdf,image. Set the DefaultFont such as MingLiu or MS Gothic to show these characters. If this property is not set, Aspose.Cells will use system default font to show these unicode characters.
|
59
59
|
attr_accessor :default_font
|
60
|
-
#
|
60
|
+
#If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.
|
61
61
|
attr_accessor :one_page_per_sheet
|
62
|
-
#
|
62
|
+
#Indicates which pages will not be printed.
|
63
63
|
attr_accessor :printing_page_type
|
64
|
-
#
|
64
|
+
#Set this options, when security is need in xls2pdf result.
|
65
65
|
attr_accessor :security_options
|
66
|
-
#
|
66
|
+
#Set desired PPI(pixels per inch) of resample images and jpeg quality All images will be converted to JPEG with the specified quality setting, and images that are greater than the specified PPI (pixels per inch) will be resampled. Desired pixels per inch. 220 high quality. 150 screen quality. 96 email quality.
|
67
67
|
attr_accessor :desired_ppi
|
68
|
-
#
|
68
|
+
#Set desired PPI(pixels per inch) of resample images and jpeg quality All images will be converted to JPEG with the specified quality setting, and images that are greater than the specified PPI (pixels per inch) will be resampled. 0 - 100% JPEG quality.
|
69
69
|
attr_accessor :jpeg_quality
|
70
|
-
#
|
70
|
+
#Represents the image type when converting the chart and shape .
|
71
71
|
attr_accessor :image_type
|
72
72
|
#
|
73
73
|
attr_accessor :save_format
|
@@ -31,17 +31,17 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PicFormatOption
|
34
|
-
#
|
34
|
+
#Gets or sets the picture fill type.
|
35
35
|
attr_accessor :type
|
36
|
-
#
|
36
|
+
#Gets or sets how many the picture stack and scale with.
|
37
37
|
attr_accessor :scale
|
38
|
-
#
|
38
|
+
#Gets or sets the left offset for stretching picture.
|
39
39
|
attr_accessor :left
|
40
|
-
#
|
40
|
+
#Gets or sets the right offset for stretching picture.
|
41
41
|
attr_accessor :right
|
42
|
-
#
|
42
|
+
#Gets or sets the top offset for stretching picture.
|
43
43
|
attr_accessor :top
|
44
|
-
#
|
44
|
+
#Gets or sets the bottom offset for stretching picture.
|
45
45
|
attr_accessor :bottom
|
46
46
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,17 +31,17 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class Picture
|
34
|
-
#
|
34
|
+
#Represents the of the border line of a picture.
|
35
35
|
attr_accessor :border_line_color
|
36
|
-
#
|
36
|
+
#Gets or sets the weight of the border line of a picture in units of pt.
|
37
37
|
attr_accessor :border_weight
|
38
|
-
#
|
38
|
+
#Gets the original height of the picture.
|
39
39
|
attr_accessor :original_height
|
40
|
-
#
|
40
|
+
#Gets the original width of the picture.
|
41
41
|
attr_accessor :original_width
|
42
42
|
#
|
43
43
|
attr_accessor :image_format
|
44
|
-
#
|
44
|
+
#Gets or sets the path and name of the source file for the linked image.
|
45
45
|
attr_accessor :source_full_name
|
46
46
|
#
|
47
47
|
attr_accessor :name
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PlotArea
|
34
|
-
#
|
34
|
+
#Gets or sets the height of plot area in units of 1/4000 of the chart area.
|
35
35
|
attr_accessor :inner_height
|
36
|
-
#
|
36
|
+
#Gets or sets the width of plot area in units of 1/4000 of the chart area.
|
37
37
|
attr_accessor :inner_width
|
38
|
-
#
|
38
|
+
#Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
|
39
39
|
attr_accessor :inner_x
|
40
|
-
#
|
40
|
+
#Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
|
41
41
|
attr_accessor :inner_y
|
42
42
|
#
|
43
43
|
attr_accessor :area
|
data/lib/aspose_cells_cloud/models/{protect_workbook_requst.rb → protect_workbook_request.rb}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="ProtectWorkbookRequestrb.cs">
|
4
4
|
Copyright (c) 2023 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,24 +30,24 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
34
|
-
#
|
35
|
-
attr_accessor :
|
36
|
-
#
|
33
|
+
class ProtectWorkbookRequest
|
34
|
+
#Indicates aways open read-only.
|
35
|
+
attr_accessor :aways_open_read_only
|
36
|
+
#Indicates encrypt with password.
|
37
37
|
attr_accessor :encrypt_with_password
|
38
|
-
#
|
38
|
+
#Represents the various types of protection options available for a worksheet.
|
39
39
|
attr_accessor :protect_current_sheet
|
40
|
-
#
|
40
|
+
#Indicates protect workbook structure. All, Contents, Objects, Scenarios, Structure, Windows, and None.
|
41
41
|
attr_accessor :protect_workbook_structure
|
42
|
-
#
|
42
|
+
#Indicates signature in file.
|
43
43
|
attr_accessor :digital_signature
|
44
|
-
#
|
44
|
+
#Indicates mark as final.
|
45
45
|
attr_accessor :mark_as_final
|
46
46
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
48
|
def self.attribute_map
|
49
49
|
{
|
50
|
-
:'
|
50
|
+
:'aways_open_read_only' => :'AwaysOpenReadOnly',
|
51
51
|
:'encrypt_with_password' => :'EncryptWithPassword',
|
52
52
|
:'protect_current_sheet' => :'ProtectCurrentSheet',
|
53
53
|
:'protect_workbook_structure' => :'ProtectWorkbookStructure',
|
@@ -59,7 +59,7 @@ module AsposeCellsCloud
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.swagger_types
|
61
61
|
{
|
62
|
-
:'
|
62
|
+
:'aways_open_read_only' => :'BOOLEAN',
|
63
63
|
:'encrypt_with_password' => :'String',
|
64
64
|
:'protect_current_sheet' => :'Protection',
|
65
65
|
:'protect_workbook_structure' => :'String',
|
@@ -76,8 +76,8 @@ module AsposeCellsCloud
|
|
76
76
|
# convert string to symbol for hash key
|
77
77
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
78
78
|
|
79
|
-
if attributes.has_key?(:'
|
80
|
-
self.
|
79
|
+
if attributes.has_key?(:'AwaysOpenReadOnly')
|
80
|
+
self.aways_open_read_only = attributes[:'AwaysOpenReadOnly']
|
81
81
|
end
|
82
82
|
if attributes.has_key?(:'EncryptWithPassword')
|
83
83
|
self.encrypt_with_password = attributes[:'EncryptWithPassword']
|
@@ -101,8 +101,8 @@ module AsposeCellsCloud
|
|
101
101
|
# @return Array for valid properies with the reasons
|
102
102
|
def list_invalid_properties
|
103
103
|
invalid_properties = Array.new
|
104
|
-
if @
|
105
|
-
invalid_properties.push("invalid value for '
|
104
|
+
if @aways_open_read_only.nil?
|
105
|
+
invalid_properties.push("invalid value for 'aways_open_read_only', aways_open_read_only cannot be nil.")
|
106
106
|
end
|
107
107
|
if @encrypt_with_password.nil?
|
108
108
|
invalid_properties.push("invalid value for 'encrypt_with_password', encrypt_with_password cannot be nil.")
|
@@ -126,7 +126,7 @@ module AsposeCellsCloud
|
|
126
126
|
# Check to see if the all the properties in the model are valid
|
127
127
|
# @return true if the model is valid
|
128
128
|
def valid?
|
129
|
-
return false if @
|
129
|
+
return false if @aways_open_read_only.nil?
|
130
130
|
return false if @encrypt_with_password.nil?
|
131
131
|
return false if @protect_current_sheet.nil?
|
132
132
|
return false if @protect_workbook_structure.nil?
|
@@ -140,7 +140,7 @@ module AsposeCellsCloud
|
|
140
140
|
def ==(o)
|
141
141
|
return true if self.equal?(o)
|
142
142
|
self.class == o.class &&
|
143
|
-
|
143
|
+
aways_open_read_only == o.aways_open_read_only &&
|
144
144
|
encrypt_with_password == o.encrypt_with_password &&
|
145
145
|
protect_current_sheet == o.protect_current_sheet &&
|
146
146
|
protect_workbook_structure == o.protect_workbook_structure &&
|
@@ -158,7 +158,7 @@ module AsposeCellsCloud
|
|
158
158
|
# Calculates hash code according to all attributes.
|
159
159
|
# @return [Fixnum] Hash code
|
160
160
|
def hash
|
161
|
-
[
|
161
|
+
[ aways_open_read_only , encrypt_with_password , protect_current_sheet , protect_workbook_structure , digital_signature , mark_as_final ].hash
|
162
162
|
end
|
163
163
|
|
164
164
|
# Builds the object from hash
|