Class: AsposeCellsCloud::WorkbookSettings
- Inherits:
-
Object
- Object
- AsposeCellsCloud::WorkbookSettings
- Defined in:
- lib/aspose_cells_cloud/models/workbook_settings.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Gets and sets the author of the file.
-
#auto_compress_pictures ⇒ Object
Specifies a boolean value that indicates the application automatically compressed pictures in the workbook.
-
#auto_recover ⇒ Object
Indicates whether the file is mark for auto-recovery.
-
#build_version ⇒ Object
Specifies the incremental public release of the application.
-
#calc_mode ⇒ Object
It specifies whether to calculate formulas manually, automatically or automatically except for multiple table operations.
-
#calculation_id ⇒ Object
Specifies the version of the calculation engine used to calculate values in the workbook.
-
#check_compatibility ⇒ Object
Indicates whether check compatibility with earlier versions when saving workbook.
-
#check_comptiliblity ⇒ Object
Indicates whether check comptiliblity when saving workbook.
-
#check_custom_number_format ⇒ Object
Indicates whether checking custom number format when setting Style.Custom.
-
#check_excel_restriction ⇒ Object
Whether check restriction of excel file when user modify cells related objects.
-
#compliance ⇒ Object
Specifies the OOXML version for the output document.
-
#crash_save ⇒ Object
indicates whether the application last saved the workbook file after a crash.
-
#create_calc_chain ⇒ Object
Whether creates calculated formulas chain.
-
#data_extract_load ⇒ Object
indicates whether the application last opened the workbook for data recovery.
-
#date1904 ⇒ Object
Gets or sets a value which represents if the workbook uses the 1904 date system.
-
#display_drawing_objects ⇒ Object
Indicates whether and how to show objects in the workbook.
-
#enable_macros ⇒ Object
Enable macros;.
-
#first_visible_tab ⇒ Object
Gets or sets the first visible worksheet tab.
-
#force_full_calculate ⇒ Object
Fully calculates every time when a calculation is triggered.
-
#formula_settings ⇒ Object
Gets the settings for formula-related features.
-
#globalization_settings ⇒ Object
Gets and sets the globalization settings.
-
#hide_pivot_field_list ⇒ Object
Gets and sets whether hide the field list for the PivotTable.
-
#is_default_encrypted ⇒ Object
Indicates whether encrypting the workbook with default password if Structure and Windows of the workbook are locked.
-
#is_encrypted ⇒ Object
Gets a value that indicates whether a password is required to open this workbook.
-
#is_h_scroll_bar_visible ⇒ Object
Gets or sets a value indicating whether the generated spreadsheet will contain a horizontal scroll bar.
-
#is_hidden ⇒ Object
Indicates whether this workbook is hidden.
-
#is_minimized ⇒ Object
Represents whether the generated spreadsheet will be opened Minimized.
-
#is_protected ⇒ Object
Gets a value that indicates whether the structure or window of the Workbook is protected.
-
#is_v_scroll_bar_visible ⇒ Object
Gets or sets a value indicating whether the generated spreadsheet will contain a vertical scroll bar.
-
#iteration ⇒ Object
Indicates whether enable iterative calculation to resolve circular references.
-
#language_code ⇒ Object
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
-
#max_change ⇒ Object
Returns or sets the maximum number of change to resolve a circular reference.
-
#max_column ⇒ Object
Gets the max column index, zero-based.
-
#max_iteration ⇒ Object
Returns or sets the maximum number of iterations to resolve a circular reference.
-
#max_row ⇒ Object
Gets the max row index, zero-based.
-
#max_rows_of_shared_formula ⇒ Object
Gets and sets the max row number of shared formula.
-
#memory_setting ⇒ Object
Gets or sets the memory usage options.
-
#number_decimal_separator ⇒ Object
Gets or sets the decimal separator for formatting/parsing numeric values.
-
#number_group_separator ⇒ Object
Gets or sets the character that separates groups of digits to the left of the decimal in numeric values.
-
#paper_size ⇒ Object
Gets and sets the default print paper size.
-
#parsing_formula_on_open ⇒ Object
Indicates whether parsing the formula when reading the file.
-
#password ⇒ Object
Represents Workbook file encryption password.
-
#precision_as_displayed ⇒ Object
True if calculations in this workbook will be done using only the precision of the numbers as they’re displayed.
-
#protection_type ⇒ Object
Gets the protection type of the workbook.
-
#quote_prefix_to_style ⇒ Object
Indicates whether setting property when entering the string value(which starts with single quote mark ) to the cell.
-
#re_calculate_on_open ⇒ Object
Indicates whether re-calculate all formulas on opening file.
-
#recalculate_before_save ⇒ Object
Indicates whether to recalculate before saving the document.
-
#recommend_read_only ⇒ Object
Indicates if the Read Only Recommended option is selected.
-
#region ⇒ Object
Gets or sets the regional settings for workbook.
-
#remove_personal_information ⇒ Object
True if personal information can be removed from the specified workbook.
-
#repair_load ⇒ Object
Indicates whether the application last opened the workbook in safe or repair mode.
-
#shared ⇒ Object
Gets or sets a value that indicates whether the Workbook is shared.
-
#sheet_tab_bar_width ⇒ Object
Width of worksheet tab bar (in 1/1000 of window width).
-
#show_tabs ⇒ Object
Get or sets a value whether the Workbook tabs are displayed.
-
#significant_digits ⇒ Object
Gets and sets the number of significant digits.
-
#update_adjacent_cells_border ⇒ Object
Indicates whether update adjacent cells’ border.
-
#update_links_type ⇒ Object
Gets and sets how updates external links when the workbook is opened.
-
#window_height ⇒ Object
The height of the window, in unit of point.
-
#window_left ⇒ Object
The distance from the left edge of the client area to the left edge of the window, in unit of point.
-
#window_top ⇒ Object
The distance from the top edge of the client area to the top edge of the window, in unit of point.
-
#window_width ⇒ Object
The width of the window, in unit of point.
-
#write_protection ⇒ Object
Provides access to the workbook write protection options.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ WorkbookSettings
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ WorkbookSettings
Initializes the object
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 297 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} if attributes.has_key?(:'AutoCompressPictures') self.auto_compress_pictures = attributes[:'AutoCompressPictures'] end if attributes.has_key?(:'AutoRecover') self.auto_recover = attributes[:'AutoRecover'] end if attributes.has_key?(:'BuildVersion') self.build_version = attributes[:'BuildVersion'] end if attributes.has_key?(:'CalcMode') self.calc_mode = attributes[:'CalcMode'] end if attributes.has_key?(:'CalculationId') self.calculation_id = attributes[:'CalculationId'] end if attributes.has_key?(:'CheckComptiliblity') self.check_comptiliblity = attributes[:'CheckComptiliblity'] end if attributes.has_key?(:'CheckExcelRestriction') self.check_excel_restriction = attributes[:'CheckExcelRestriction'] end if attributes.has_key?(:'CrashSave') self.crash_save = attributes[:'CrashSave'] end if attributes.has_key?(:'CreateCalcChain') self.create_calc_chain = attributes[:'CreateCalcChain'] end if attributes.has_key?(:'DataExtractLoad') self.data_extract_load = attributes[:'DataExtractLoad'] end if attributes.has_key?(:'Date1904') self.date1904 = attributes[:'Date1904'] end if attributes.has_key?(:'DisplayDrawingObjects') self.display_drawing_objects = attributes[:'DisplayDrawingObjects'] end if attributes.has_key?(:'EnableMacros') self.enable_macros = attributes[:'EnableMacros'] end if attributes.has_key?(:'FirstVisibleTab') self.first_visible_tab = attributes[:'FirstVisibleTab'] end if attributes.has_key?(:'HidePivotFieldList') self.hide_pivot_field_list = attributes[:'HidePivotFieldList'] end if attributes.has_key?(:'IsDefaultEncrypted') self.is_default_encrypted = attributes[:'IsDefaultEncrypted'] end if attributes.has_key?(:'IsHidden') self.is_hidden = attributes[:'IsHidden'] end if attributes.has_key?(:'IsHScrollBarVisible') self. = attributes[:'IsHScrollBarVisible'] end if attributes.has_key?(:'IsMinimized') self.is_minimized = attributes[:'IsMinimized'] end if attributes.has_key?(:'IsVScrollBarVisible') self. = attributes[:'IsVScrollBarVisible'] end if attributes.has_key?(:'Iteration') self.iteration = attributes[:'Iteration'] end if attributes.has_key?(:'LanguageCode') self.language_code = attributes[:'LanguageCode'] end if attributes.has_key?(:'MaxChange') self.max_change = attributes[:'MaxChange'] end if attributes.has_key?(:'MaxIteration') self.max_iteration = attributes[:'MaxIteration'] end if attributes.has_key?(:'MemorySetting') self.memory_setting = attributes[:'MemorySetting'] end if attributes.has_key?(:'NumberDecimalSeparator') self.number_decimal_separator = attributes[:'NumberDecimalSeparator'] end if attributes.has_key?(:'NumberGroupSeparator') self.number_group_separator = attributes[:'NumberGroupSeparator'] end if attributes.has_key?(:'ParsingFormulaOnOpen') self.parsing_formula_on_open = attributes[:'ParsingFormulaOnOpen'] end if attributes.has_key?(:'PrecisionAsDisplayed') self.precision_as_displayed = attributes[:'PrecisionAsDisplayed'] end if attributes.has_key?(:'RecalculateBeforeSave') self.recalculate_before_save = attributes[:'RecalculateBeforeSave'] end if attributes.has_key?(:'ReCalculateOnOpen') self.re_calculate_on_open = attributes[:'ReCalculateOnOpen'] end if attributes.has_key?(:'RecommendReadOnly') self.recommend_read_only = attributes[:'RecommendReadOnly'] end if attributes.has_key?(:'Region') self.region = attributes[:'Region'] end if attributes.has_key?(:'RemovePersonalInformation') self.remove_personal_information = attributes[:'RemovePersonalInformation'] end if attributes.has_key?(:'RepairLoad') self.repair_load = attributes[:'RepairLoad'] end if attributes.has_key?(:'Shared') self.shared = attributes[:'Shared'] end if attributes.has_key?(:'SheetTabBarWidth') self. = attributes[:'SheetTabBarWidth'] end if attributes.has_key?(:'ShowTabs') self.show_tabs = attributes[:'ShowTabs'] end if attributes.has_key?(:'UpdateAdjacentCellsBorder') self.update_adjacent_cells_border = attributes[:'UpdateAdjacentCellsBorder'] end if attributes.has_key?(:'UpdateLinksType') self.update_links_type = attributes[:'UpdateLinksType'] end if attributes.has_key?(:'WindowHeight') self.window_height = attributes[:'WindowHeight'] end if attributes.has_key?(:'WindowLeft') self.window_left = attributes[:'WindowLeft'] end if attributes.has_key?(:'WindowTop') self.window_top = attributes[:'WindowTop'] end if attributes.has_key?(:'WindowWidth') self.window_width = attributes[:'WindowWidth'] end if attributes.has_key?(:'Author') self. = attributes[:'Author'] end if attributes.has_key?(:'CheckCustomNumberFormat') self.check_custom_number_format = attributes[:'CheckCustomNumberFormat'] end if attributes.has_key?(:'ProtectionType') self.protection_type = attributes[:'ProtectionType'] end if attributes.has_key?(:'GlobalizationSettings') self.globalization_settings = attributes[:'GlobalizationSettings'] end if attributes.has_key?(:'Password') self.password = attributes[:'Password'] end if attributes.has_key?(:'WriteProtection') self.write_protection = attributes[:'WriteProtection'] end if attributes.has_key?(:'IsEncrypted') self.is_encrypted = attributes[:'IsEncrypted'] end if attributes.has_key?(:'IsProtected') self.is_protected = attributes[:'IsProtected'] end if attributes.has_key?(:'MaxRow') self.max_row = attributes[:'MaxRow'] end if attributes.has_key?(:'MaxColumn') self.max_column = attributes[:'MaxColumn'] end if attributes.has_key?(:'SignificantDigits') self.significant_digits = attributes[:'SignificantDigits'] end if attributes.has_key?(:'CheckCompatibility') self.check_compatibility = attributes[:'CheckCompatibility'] end if attributes.has_key?(:'PaperSize') self.paper_size = attributes[:'PaperSize'] end if attributes.has_key?(:'MaxRowsOfSharedFormula') self.max_rows_of_shared_formula = attributes[:'MaxRowsOfSharedFormula'] end if attributes.has_key?(:'Compliance') self.compliance = attributes[:'Compliance'] end if attributes.has_key?(:'QuotePrefixToStyle') self.quote_prefix_to_style = attributes[:'QuotePrefixToStyle'] end if attributes.has_key?(:'FormulaSettings') self.formula_settings = attributes[:'FormulaSettings'] end if attributes.has_key?(:'ForceFullCalculate') self.force_full_calculate = attributes[:'ForceFullCalculate'] end end |
Instance Attribute Details
#author ⇒ Object
Gets and sets the author of the file.
123 124 125 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 123 def @author end |
#auto_compress_pictures ⇒ Object
Specifies a boolean value that indicates the application automatically compressed pictures in the workbook.
35 36 37 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 35 def auto_compress_pictures @auto_compress_pictures end |
#auto_recover ⇒ Object
Indicates whether the file is mark for auto-recovery.
37 38 39 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 37 def auto_recover @auto_recover end |
#build_version ⇒ Object
Specifies the incremental public release of the application.
39 40 41 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 39 def build_version @build_version end |
#calc_mode ⇒ Object
It specifies whether to calculate formulas manually, automatically or automatically except for multiple table operations.
41 42 43 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 41 def calc_mode @calc_mode end |
#calculation_id ⇒ Object
Specifies the version of the calculation engine used to calculate values in the workbook.
43 44 45 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 43 def calculation_id @calculation_id end |
#check_compatibility ⇒ Object
Indicates whether check compatibility with earlier versions when saving workbook.
145 146 147 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 145 def check_compatibility @check_compatibility end |
#check_comptiliblity ⇒ Object
Indicates whether check comptiliblity when saving workbook. Remarks: The default value is true.
45 46 47 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 45 def check_comptiliblity @check_comptiliblity end |
#check_custom_number_format ⇒ Object
Indicates whether checking custom number format when setting Style.Custom.
125 126 127 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 125 def check_custom_number_format @check_custom_number_format end |
#check_excel_restriction ⇒ Object
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell’s value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
47 48 49 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 47 def check_excel_restriction @check_excel_restriction end |
#compliance ⇒ Object
Specifies the OOXML version for the output document. The default value is Ecma376_2006.
151 152 153 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 151 def compliance @compliance end |
#crash_save ⇒ Object
indicates whether the application last saved the workbook file after a crash.
49 50 51 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 49 def crash_save @crash_save end |
#create_calc_chain ⇒ Object
Whether creates calculated formulas chain. Default is false.
51 52 53 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 51 def create_calc_chain @create_calc_chain end |
#data_extract_load ⇒ Object
indicates whether the application last opened the workbook for data recovery.
53 54 55 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 53 def data_extract_load @data_extract_load end |
#date1904 ⇒ Object
Gets or sets a value which represents if the workbook uses the 1904 date system.
55 56 57 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 55 def date1904 @date1904 end |
#display_drawing_objects ⇒ Object
Indicates whether and how to show objects in the workbook.
57 58 59 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 57 def display_drawing_objects @display_drawing_objects end |
#enable_macros ⇒ Object
Enable macros;
59 60 61 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 59 def enable_macros @enable_macros end |
#first_visible_tab ⇒ Object
Gets or sets the first visible worksheet tab.
61 62 63 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 61 def first_visible_tab @first_visible_tab end |
#force_full_calculate ⇒ Object
Fully calculates every time when a calculation is triggered.
157 158 159 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 157 def force_full_calculate @force_full_calculate end |
#formula_settings ⇒ Object
Gets the settings for formula-related features.
155 156 157 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 155 def formula_settings @formula_settings end |
#globalization_settings ⇒ Object
Gets and sets the globalization settings.
129 130 131 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 129 def globalization_settings @globalization_settings end |
#hide_pivot_field_list ⇒ Object
Gets and sets whether hide the field list for the PivotTable.
63 64 65 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 63 def hide_pivot_field_list @hide_pivot_field_list end |
#is_default_encrypted ⇒ Object
Indicates whether encrypting the workbook with default password if Structure and Windows of the workbook are locked.
65 66 67 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 65 def is_default_encrypted @is_default_encrypted end |
#is_encrypted ⇒ Object
Gets a value that indicates whether a password is required to open this workbook.
135 136 137 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 135 def is_encrypted @is_encrypted end |
#is_h_scroll_bar_visible ⇒ Object
Gets or sets a value indicating whether the generated spreadsheet will contain a horizontal scroll bar.
69 70 71 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 69 def @is_h_scroll_bar_visible end |
#is_hidden ⇒ Object
Indicates whether this workbook is hidden.
67 68 69 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 67 def is_hidden @is_hidden end |
#is_minimized ⇒ Object
Represents whether the generated spreadsheet will be opened Minimized.
71 72 73 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 71 def is_minimized @is_minimized end |
#is_protected ⇒ Object
Gets a value that indicates whether the structure or window of the Workbook is protected.
137 138 139 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 137 def is_protected @is_protected end |
#is_v_scroll_bar_visible ⇒ Object
Gets or sets a value indicating whether the generated spreadsheet will contain a vertical scroll bar.
73 74 75 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 73 def @is_v_scroll_bar_visible end |
#iteration ⇒ Object
Indicates whether enable iterative calculation to resolve circular references.
75 76 77 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 75 def iteration @iteration end |
#language_code ⇒ Object
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
77 78 79 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 77 def language_code @language_code end |
#max_change ⇒ Object
Returns or sets the maximum number of change to resolve a circular reference.
79 80 81 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 79 def max_change @max_change end |
#max_column ⇒ Object
Gets the max column index, zero-based.
141 142 143 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 141 def max_column @max_column end |
#max_iteration ⇒ Object
Returns or sets the maximum number of iterations to resolve a circular reference.
81 82 83 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 81 def max_iteration @max_iteration end |
#max_row ⇒ Object
Gets the max row index, zero-based.
139 140 141 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 139 def max_row @max_row end |
#max_rows_of_shared_formula ⇒ Object
Gets and sets the max row number of shared formula.
149 150 151 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 149 def max_rows_of_shared_formula @max_rows_of_shared_formula end |
#memory_setting ⇒ Object
Gets or sets the memory usage options. The new option will be taken as the default option for newly created worksheets but does not take effect for existing worksheets.
83 84 85 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 83 def memory_setting @memory_setting end |
#number_decimal_separator ⇒ Object
Gets or sets the decimal separator for formatting/parsing numeric values. Default is the decimal separator of current Region.
85 86 87 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 85 def number_decimal_separator @number_decimal_separator end |
#number_group_separator ⇒ Object
Gets or sets the character that separates groups of digits to the left of the decimal in numeric values. Default is the group separator of current Region.
87 88 89 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 87 def number_group_separator @number_group_separator end |
#paper_size ⇒ Object
Gets and sets the default print paper size.
147 148 149 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 147 def paper_size @paper_size end |
#parsing_formula_on_open ⇒ Object
Indicates whether parsing the formula when reading the file.
89 90 91 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 89 def parsing_formula_on_open @parsing_formula_on_open end |
#password ⇒ Object
Represents Workbook file encryption password.
131 132 133 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 131 def password @password end |
#precision_as_displayed ⇒ Object
True if calculations in this workbook will be done using only the precision of the numbers as they’re displayed
91 92 93 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 91 def precision_as_displayed @precision_as_displayed end |
#protection_type ⇒ Object
Gets the protection type of the workbook.
127 128 129 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 127 def protection_type @protection_type end |
#quote_prefix_to_style ⇒ Object
Indicates whether setting property when entering the string value(which starts with single quote mark ) to the cell
153 154 155 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 153 def quote_prefix_to_style @quote_prefix_to_style end |
#re_calculate_on_open ⇒ Object
Indicates whether re-calculate all formulas on opening file.
95 96 97 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 95 def re_calculate_on_open @re_calculate_on_open end |
#recalculate_before_save ⇒ Object
Indicates whether to recalculate before saving the document.
93 94 95 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 93 def recalculate_before_save @recalculate_before_save end |
#recommend_read_only ⇒ Object
Indicates if the Read Only Recommended option is selected.
97 98 99 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 97 def recommend_read_only @recommend_read_only end |
#region ⇒ Object
Gets or sets the regional settings for workbook.
99 100 101 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 99 def region @region end |
#remove_personal_information ⇒ Object
True if personal information can be removed from the specified workbook.
101 102 103 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 101 def remove_personal_information @remove_personal_information end |
#repair_load ⇒ Object
Indicates whether the application last opened the workbook in safe or repair mode.
103 104 105 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 103 def repair_load @repair_load end |
#shared ⇒ Object
Gets or sets a value that indicates whether the Workbook is shared.
105 106 107 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 105 def shared @shared end |
#sheet_tab_bar_width ⇒ Object
Width of worksheet tab bar (in 1/1000 of window width).
107 108 109 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 107 def @sheet_tab_bar_width end |
#show_tabs ⇒ Object
Get or sets a value whether the Workbook tabs are displayed.
109 110 111 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 109 def show_tabs @show_tabs end |
#significant_digits ⇒ Object
Gets and sets the number of significant digits. The default value is .
143 144 145 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 143 def significant_digits @significant_digits end |
#update_adjacent_cells_border ⇒ Object
Indicates whether update adjacent cells’ border.
111 112 113 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 111 def update_adjacent_cells_border @update_adjacent_cells_border end |
#update_links_type ⇒ Object
Gets and sets how updates external links when the workbook is opened.
113 114 115 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 113 def update_links_type @update_links_type end |
#window_height ⇒ Object
The height of the window, in unit of point.
115 116 117 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 115 def window_height @window_height end |
#window_left ⇒ Object
The distance from the left edge of the client area to the left edge of the window, in unit of point.
117 118 119 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 117 def window_left @window_left end |
#window_top ⇒ Object
The distance from the top edge of the client area to the top edge of the window, in unit of point.
119 120 121 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 119 def window_top @window_top end |
#window_width ⇒ Object
The width of the window, in unit of point.
121 122 123 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 121 def window_width @window_width end |
#write_protection ⇒ Object
Provides access to the workbook write protection options.
133 134 135 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 133 def write_protection @write_protection end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 160 def self.attribute_map { :'auto_compress_pictures' => :'AutoCompressPictures', :'auto_recover' => :'AutoRecover', :'build_version' => :'BuildVersion', :'calc_mode' => :'CalcMode', :'calculation_id' => :'CalculationId', :'check_comptiliblity' => :'CheckComptiliblity', :'check_excel_restriction' => :'CheckExcelRestriction', :'crash_save' => :'CrashSave', :'create_calc_chain' => :'CreateCalcChain', :'data_extract_load' => :'DataExtractLoad', :'date1904' => :'Date1904', :'display_drawing_objects' => :'DisplayDrawingObjects', :'enable_macros' => :'EnableMacros', :'first_visible_tab' => :'FirstVisibleTab', :'hide_pivot_field_list' => :'HidePivotFieldList', :'is_default_encrypted' => :'IsDefaultEncrypted', :'is_hidden' => :'IsHidden', :'is_h_scroll_bar_visible' => :'IsHScrollBarVisible', :'is_minimized' => :'IsMinimized', :'is_v_scroll_bar_visible' => :'IsVScrollBarVisible', :'iteration' => :'Iteration', :'language_code' => :'LanguageCode', :'max_change' => :'MaxChange', :'max_iteration' => :'MaxIteration', :'memory_setting' => :'MemorySetting', :'number_decimal_separator' => :'NumberDecimalSeparator', :'number_group_separator' => :'NumberGroupSeparator', :'parsing_formula_on_open' => :'ParsingFormulaOnOpen', :'precision_as_displayed' => :'PrecisionAsDisplayed', :'recalculate_before_save' => :'RecalculateBeforeSave', :'re_calculate_on_open' => :'ReCalculateOnOpen', :'recommend_read_only' => :'RecommendReadOnly', :'region' => :'Region', :'remove_personal_information' => :'RemovePersonalInformation', :'repair_load' => :'RepairLoad', :'shared' => :'Shared', :'sheet_tab_bar_width' => :'SheetTabBarWidth', :'show_tabs' => :'ShowTabs', :'update_adjacent_cells_border' => :'UpdateAdjacentCellsBorder', :'update_links_type' => :'UpdateLinksType', :'window_height' => :'WindowHeight', :'window_left' => :'WindowLeft', :'window_top' => :'WindowTop', :'window_width' => :'WindowWidth', :'author' => :'Author', :'check_custom_number_format' => :'CheckCustomNumberFormat', :'protection_type' => :'ProtectionType', :'globalization_settings' => :'GlobalizationSettings', :'password' => :'Password', :'write_protection' => :'WriteProtection', :'is_encrypted' => :'IsEncrypted', :'is_protected' => :'IsProtected', :'max_row' => :'MaxRow', :'max_column' => :'MaxColumn', :'significant_digits' => :'SignificantDigits', :'check_compatibility' => :'CheckCompatibility', :'paper_size' => :'PaperSize', :'max_rows_of_shared_formula' => :'MaxRowsOfSharedFormula', :'compliance' => :'Compliance', :'quote_prefix_to_style' => :'QuotePrefixToStyle', :'formula_settings' => :'FormulaSettings', :'force_full_calculate' => :'ForceFullCalculate' } end |
.swagger_types ⇒ Object
Attribute type mapping.
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 228 def self.swagger_types { :'auto_compress_pictures' => :'BOOLEAN', :'auto_recover' => :'BOOLEAN', :'build_version' => :'String', :'calc_mode' => :'String', :'calculation_id' => :'String', :'check_comptiliblity' => :'BOOLEAN', :'check_excel_restriction' => :'BOOLEAN', :'crash_save' => :'BOOLEAN', :'create_calc_chain' => :'BOOLEAN', :'data_extract_load' => :'BOOLEAN', :'date1904' => :'BOOLEAN', :'display_drawing_objects' => :'String', :'enable_macros' => :'BOOLEAN', :'first_visible_tab' => :'Integer', :'hide_pivot_field_list' => :'BOOLEAN', :'is_default_encrypted' => :'BOOLEAN', :'is_hidden' => :'BOOLEAN', :'is_h_scroll_bar_visible' => :'BOOLEAN', :'is_minimized' => :'BOOLEAN', :'is_v_scroll_bar_visible' => :'BOOLEAN', :'iteration' => :'BOOLEAN', :'language_code' => :'String', :'max_change' => :'Float', :'max_iteration' => :'Integer', :'memory_setting' => :'String', :'number_decimal_separator' => :'String', :'number_group_separator' => :'String', :'parsing_formula_on_open' => :'BOOLEAN', :'precision_as_displayed' => :'BOOLEAN', :'recalculate_before_save' => :'BOOLEAN', :'re_calculate_on_open' => :'BOOLEAN', :'recommend_read_only' => :'BOOLEAN', :'region' => :'String', :'remove_personal_information' => :'BOOLEAN', :'repair_load' => :'BOOLEAN', :'shared' => :'BOOLEAN', :'sheet_tab_bar_width' => :'Integer', :'show_tabs' => :'BOOLEAN', :'update_adjacent_cells_border' => :'BOOLEAN', :'update_links_type' => :'String', :'window_height' => :'Float', :'window_left' => :'Float', :'window_top' => :'Float', :'window_width' => :'Float', :'author' => :'String', :'check_custom_number_format' => :'BOOLEAN', :'protection_type' => :'String', :'globalization_settings' => :'GlobalizationSettings', :'password' => :'String', :'write_protection' => :'WriteProtection', :'is_encrypted' => :'BOOLEAN', :'is_protected' => :'BOOLEAN', :'max_row' => :'Integer', :'max_column' => :'Integer', :'significant_digits' => :'Integer', :'check_compatibility' => :'BOOLEAN', :'paper_size' => :'String', :'max_rows_of_shared_formula' => :'Integer', :'compliance' => :'String', :'quote_prefix_to_style' => :'BOOLEAN', :'formula_settings' => :'FormulaSettings', :'force_full_calculate' => :'BOOLEAN' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 756 def ==(o) return true if self.equal?(o) self.class == o.class && auto_compress_pictures == o.auto_compress_pictures && auto_recover == o.auto_recover && build_version == o.build_version && calc_mode == o.calc_mode && calculation_id == o.calculation_id && check_comptiliblity == o.check_comptiliblity && check_excel_restriction == o.check_excel_restriction && crash_save == o.crash_save && create_calc_chain == o.create_calc_chain && data_extract_load == o.data_extract_load && date1904 == o.date1904 && display_drawing_objects == o.display_drawing_objects && enable_macros == o.enable_macros && first_visible_tab == o.first_visible_tab && hide_pivot_field_list == o.hide_pivot_field_list && is_default_encrypted == o.is_default_encrypted && is_hidden == o.is_hidden && == o. && is_minimized == o.is_minimized && == o. && iteration == o.iteration && language_code == o.language_code && max_change == o.max_change && max_iteration == o.max_iteration && memory_setting == o.memory_setting && number_decimal_separator == o.number_decimal_separator && number_group_separator == o.number_group_separator && parsing_formula_on_open == o.parsing_formula_on_open && precision_as_displayed == o.precision_as_displayed && recalculate_before_save == o.recalculate_before_save && re_calculate_on_open == o.re_calculate_on_open && recommend_read_only == o.recommend_read_only && region == o.region && remove_personal_information == o.remove_personal_information && repair_load == o.repair_load && shared == o.shared && == o. && show_tabs == o.show_tabs && update_adjacent_cells_border == o.update_adjacent_cells_border && update_links_type == o.update_links_type && window_height == o.window_height && window_left == o.window_left && window_top == o.window_top && window_width == o.window_width && == o. && check_custom_number_format == o.check_custom_number_format && protection_type == o.protection_type && globalization_settings == o.globalization_settings && password == o.password && write_protection == o.write_protection && is_encrypted == o.is_encrypted && is_protected == o.is_protected && max_row == o.max_row && max_column == o.max_column && significant_digits == o.significant_digits && check_compatibility == o.check_compatibility && paper_size == o.paper_size && max_rows_of_shared_formula == o.max_rows_of_shared_formula && compliance == o.compliance && quote_prefix_to_style == o.quote_prefix_to_style && formula_settings == o.formula_settings && force_full_calculate == o.force_full_calculate std_dev == o.std_dev end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 860 def _deserialize(type, value) case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model temp_model = AsposeCellsCloud.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
926 927 928 929 930 931 932 933 934 935 936 937 938 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 926 def _to_hash(value) if value.is_a?(Array) value.compact.map{ |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 839 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
826 827 828 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 826 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
832 833 834 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 832 def hash [ auto_compress_pictures , auto_recover , build_version , calc_mode , calculation_id , check_comptiliblity , check_excel_restriction , crash_save , create_calc_chain , data_extract_load , date1904 , display_drawing_objects , enable_macros , first_visible_tab , hide_pivot_field_list , is_default_encrypted , is_hidden , , is_minimized , , iteration , language_code , max_change , max_iteration , memory_setting , number_decimal_separator , number_group_separator , parsing_formula_on_open , precision_as_displayed , recalculate_before_save , re_calculate_on_open , recommend_read_only , region , remove_personal_information , repair_load , shared , , show_tabs , update_adjacent_cells_border , update_links_type , window_height , window_left , window_top , window_width , , check_custom_number_format , protection_type , globalization_settings , password , write_protection , is_encrypted , is_protected , max_row , max_column , significant_digits , check_compatibility , paper_size , max_rows_of_shared_formula , compliance , quote_prefix_to_style , formula_settings , force_full_calculate ].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 494 def list_invalid_properties invalid_properties = Array.new if @auto_compress_pictures.nil? invalid_properties.push("invalid value for 'auto_compress_pictures', auto_compress_pictures cannot be nil.") end if @auto_recover.nil? invalid_properties.push("invalid value for 'auto_recover', auto_recover cannot be nil.") end if @build_version.nil? invalid_properties.push("invalid value for 'build_version', build_version cannot be nil.") end if @calc_mode.nil? invalid_properties.push("invalid value for 'calc_mode', calc_mode cannot be nil.") end if @calculation_id.nil? invalid_properties.push("invalid value for 'calculation_id', calculation_id cannot be nil.") end if @check_comptiliblity.nil? invalid_properties.push("invalid value for 'check_comptiliblity', check_comptiliblity cannot be nil.") end if @check_excel_restriction.nil? invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.") end if @crash_save.nil? invalid_properties.push("invalid value for 'crash_save', crash_save cannot be nil.") end if @create_calc_chain.nil? invalid_properties.push("invalid value for 'create_calc_chain', create_calc_chain cannot be nil.") end if @data_extract_load.nil? invalid_properties.push("invalid value for 'data_extract_load', data_extract_load cannot be nil.") end if @date1904.nil? invalid_properties.push("invalid value for 'date1904', date1904 cannot be nil.") end if @display_drawing_objects.nil? invalid_properties.push("invalid value for 'display_drawing_objects', display_drawing_objects cannot be nil.") end if @enable_macros.nil? invalid_properties.push("invalid value for 'enable_macros', enable_macros cannot be nil.") end if @first_visible_tab.nil? invalid_properties.push("invalid value for 'first_visible_tab', first_visible_tab cannot be nil.") end if @hide_pivot_field_list.nil? invalid_properties.push("invalid value for 'hide_pivot_field_list', hide_pivot_field_list cannot be nil.") end if @is_default_encrypted.nil? invalid_properties.push("invalid value for 'is_default_encrypted', is_default_encrypted cannot be nil.") end if @is_hidden.nil? invalid_properties.push("invalid value for 'is_hidden', is_hidden cannot be nil.") end if @is_h_scroll_bar_visible.nil? invalid_properties.push("invalid value for 'is_h_scroll_bar_visible', is_h_scroll_bar_visible cannot be nil.") end if @is_minimized.nil? invalid_properties.push("invalid value for 'is_minimized', is_minimized cannot be nil.") end if @is_v_scroll_bar_visible.nil? invalid_properties.push("invalid value for 'is_v_scroll_bar_visible', is_v_scroll_bar_visible cannot be nil.") end if @iteration.nil? invalid_properties.push("invalid value for 'iteration', iteration cannot be nil.") end if @language_code.nil? invalid_properties.push("invalid value for 'language_code', language_code cannot be nil.") end if @max_change.nil? invalid_properties.push("invalid value for 'max_change', max_change cannot be nil.") end if @max_iteration.nil? invalid_properties.push("invalid value for 'max_iteration', max_iteration cannot be nil.") end if @memory_setting.nil? invalid_properties.push("invalid value for 'memory_setting', memory_setting cannot be nil.") end if @number_decimal_separator.nil? invalid_properties.push("invalid value for 'number_decimal_separator', number_decimal_separator cannot be nil.") end if @number_group_separator.nil? invalid_properties.push("invalid value for 'number_group_separator', number_group_separator cannot be nil.") end if @parsing_formula_on_open.nil? invalid_properties.push("invalid value for 'parsing_formula_on_open', parsing_formula_on_open cannot be nil.") end if @precision_as_displayed.nil? invalid_properties.push("invalid value for 'precision_as_displayed', precision_as_displayed cannot be nil.") end if @recalculate_before_save.nil? invalid_properties.push("invalid value for 'recalculate_before_save', recalculate_before_save cannot be nil.") end if @re_calculate_on_open.nil? invalid_properties.push("invalid value for 're_calculate_on_open', re_calculate_on_open cannot be nil.") end if @recommend_read_only.nil? invalid_properties.push("invalid value for 'recommend_read_only', recommend_read_only cannot be nil.") end if @region.nil? invalid_properties.push("invalid value for 'region', region cannot be nil.") end if @remove_personal_information.nil? invalid_properties.push("invalid value for 'remove_personal_information', remove_personal_information cannot be nil.") end if @repair_load.nil? invalid_properties.push("invalid value for 'repair_load', repair_load cannot be nil.") end if @shared.nil? invalid_properties.push("invalid value for 'shared', shared cannot be nil.") end if @sheet_tab_bar_width.nil? invalid_properties.push("invalid value for 'sheet_tab_bar_width', sheet_tab_bar_width cannot be nil.") end if @show_tabs.nil? invalid_properties.push("invalid value for 'show_tabs', show_tabs cannot be nil.") end if @update_adjacent_cells_border.nil? invalid_properties.push("invalid value for 'update_adjacent_cells_border', update_adjacent_cells_border cannot be nil.") end if @update_links_type.nil? invalid_properties.push("invalid value for 'update_links_type', update_links_type cannot be nil.") end if @window_height.nil? invalid_properties.push("invalid value for 'window_height', window_height cannot be nil.") end if @window_left.nil? invalid_properties.push("invalid value for 'window_left', window_left cannot be nil.") end if @window_top.nil? invalid_properties.push("invalid value for 'window_top', window_top cannot be nil.") end if @window_width.nil? invalid_properties.push("invalid value for 'window_width', window_width cannot be nil.") end if @author.nil? invalid_properties.push("invalid value for 'author', author cannot be nil.") end if @check_custom_number_format.nil? invalid_properties.push("invalid value for 'check_custom_number_format', check_custom_number_format cannot be nil.") end if @protection_type.nil? invalid_properties.push("invalid value for 'protection_type', protection_type cannot be nil.") end if @globalization_settings.nil? invalid_properties.push("invalid value for 'globalization_settings', globalization_settings cannot be nil.") end if @password.nil? invalid_properties.push("invalid value for 'password', password cannot be nil.") end if @write_protection.nil? invalid_properties.push("invalid value for 'write_protection', write_protection cannot be nil.") end if @is_encrypted.nil? invalid_properties.push("invalid value for 'is_encrypted', is_encrypted cannot be nil.") end if @is_protected.nil? invalid_properties.push("invalid value for 'is_protected', is_protected cannot be nil.") end if @max_row.nil? invalid_properties.push("invalid value for 'max_row', max_row cannot be nil.") end if @max_column.nil? invalid_properties.push("invalid value for 'max_column', max_column cannot be nil.") end if @significant_digits.nil? invalid_properties.push("invalid value for 'significant_digits', significant_digits cannot be nil.") end if @check_compatibility.nil? invalid_properties.push("invalid value for 'check_compatibility', check_compatibility cannot be nil.") end if @paper_size.nil? invalid_properties.push("invalid value for 'paper_size', paper_size cannot be nil.") end if @max_rows_of_shared_formula.nil? invalid_properties.push("invalid value for 'max_rows_of_shared_formula', max_rows_of_shared_formula cannot be nil.") end if @compliance.nil? invalid_properties.push("invalid value for 'compliance', compliance cannot be nil.") end if @quote_prefix_to_style.nil? invalid_properties.push("invalid value for 'quote_prefix_to_style', quote_prefix_to_style cannot be nil.") end if @formula_settings.nil? invalid_properties.push("invalid value for 'formula_settings', formula_settings cannot be nil.") end if @force_full_calculate.nil? invalid_properties.push("invalid value for 'force_full_calculate', force_full_calculate cannot be nil.") end return invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
906 907 908 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 906 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
912 913 914 915 916 917 918 919 920 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 912 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
900 901 902 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 900 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 |
# File 'lib/aspose_cells_cloud/models/workbook_settings.rb', line 688 def valid? return false if @auto_compress_pictures.nil? return false if @auto_recover.nil? return false if @build_version.nil? return false if @calc_mode.nil? return false if @calculation_id.nil? return false if @check_comptiliblity.nil? return false if @check_excel_restriction.nil? return false if @crash_save.nil? return false if @create_calc_chain.nil? return false if @data_extract_load.nil? return false if @date1904.nil? return false if @display_drawing_objects.nil? return false if @enable_macros.nil? return false if @first_visible_tab.nil? return false if @hide_pivot_field_list.nil? return false if @is_default_encrypted.nil? return false if @is_hidden.nil? return false if @is_h_scroll_bar_visible.nil? return false if @is_minimized.nil? return false if @is_v_scroll_bar_visible.nil? return false if @iteration.nil? return false if @language_code.nil? return false if @max_change.nil? return false if @max_iteration.nil? return false if @memory_setting.nil? return false if @number_decimal_separator.nil? return false if @number_group_separator.nil? return false if @parsing_formula_on_open.nil? return false if @precision_as_displayed.nil? return false if @recalculate_before_save.nil? return false if @re_calculate_on_open.nil? return false if @recommend_read_only.nil? return false if @region.nil? return false if @remove_personal_information.nil? return false if @repair_load.nil? return false if @shared.nil? return false if @sheet_tab_bar_width.nil? return false if @show_tabs.nil? return false if @update_adjacent_cells_border.nil? return false if @update_links_type.nil? return false if @window_height.nil? return false if @window_left.nil? return false if @window_top.nil? return false if @window_width.nil? return false if @author.nil? return false if @check_custom_number_format.nil? return false if @protection_type.nil? return false if @globalization_settings.nil? return false if @password.nil? return false if @write_protection.nil? return false if @is_encrypted.nil? return false if @is_protected.nil? return false if @max_row.nil? return false if @max_column.nil? return false if @significant_digits.nil? return false if @check_compatibility.nil? return false if @paper_size.nil? return false if @max_rows_of_shared_formula.nil? return false if @compliance.nil? return false if @quote_prefix_to_style.nil? return false if @formula_settings.nil? return false if @force_full_calculate.nil? return true end |