Class: AsposeCellsCloud::PivotTable
- Inherits:
-
Object
- Object
- AsposeCellsCloud::PivotTable
- Defined in:
- lib/aspose_cells_cloud/models/pivot_table.rb
Instance Attribute Summary collapse
-
#alt_text_description ⇒ Object
Returns the value of attribute alt_text_description.
-
#alt_text_title ⇒ Object
Returns the value of attribute alt_text_title.
-
#auto_format_type ⇒ Object
Returns the value of attribute auto_format_type.
-
#base_fields ⇒ Object
Returns the value of attribute base_fields.
-
#column_fields ⇒ Object
Returns the value of attribute column_fields.
-
#column_grand ⇒ Object
Returns the value of attribute column_grand.
-
#column_header_caption ⇒ Object
Returns the value of attribute column_header_caption.
-
#column_range ⇒ Object
Returns the value of attribute column_range.
-
#custom_list_sort ⇒ Object
Returns the value of attribute custom_list_sort.
-
#data_body_range ⇒ Object
Returns the value of attribute data_body_range.
-
#data_field ⇒ Object
Returns the value of attribute data_field.
-
#data_fields ⇒ Object
Returns the value of attribute data_fields.
-
#data_source ⇒ Object
Returns the value of attribute data_source.
-
#display_error_string ⇒ Object
Returns the value of attribute display_error_string.
-
#display_immediate_items ⇒ Object
Returns the value of attribute display_immediate_items.
-
#display_null_string ⇒ Object
Returns the value of attribute display_null_string.
-
#enable_data_value_editing ⇒ Object
Returns the value of attribute enable_data_value_editing.
-
#enable_drilldown ⇒ Object
Returns the value of attribute enable_drilldown.
-
#enable_field_dialog ⇒ Object
Returns the value of attribute enable_field_dialog.
-
#enable_field_list ⇒ Object
Returns the value of attribute enable_field_list.
-
#enable_wizard ⇒ Object
Returns the value of attribute enable_wizard.
-
#error_string ⇒ Object
Returns the value of attribute error_string.
-
#field_list_sort_ascending ⇒ Object
Returns the value of attribute field_list_sort_ascending.
-
#grand_total_name ⇒ Object
Returns the value of attribute grand_total_name.
-
#has_blank_rows ⇒ Object
Returns the value of attribute has_blank_rows.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#is_auto_format ⇒ Object
Returns the value of attribute is_auto_format.
-
#is_grid_drop_zones ⇒ Object
Returns the value of attribute is_grid_drop_zones.
-
#is_multiple_field_filters ⇒ Object
Returns the value of attribute is_multiple_field_filters.
-
#is_selected ⇒ Object
Returns the value of attribute is_selected.
-
#item_print_titles ⇒ Object
Returns the value of attribute item_print_titles.
-
#link ⇒ Object
Returns the value of attribute link.
-
#manual_update ⇒ Object
Returns the value of attribute manual_update.
-
#merge_labels ⇒ Object
Returns the value of attribute merge_labels.
-
#missing_items_limit ⇒ Object
Returns the value of attribute missing_items_limit.
-
#name ⇒ Object
Returns the value of attribute name.
-
#null_string ⇒ Object
Returns the value of attribute null_string.
-
#page_field_order ⇒ Object
Returns the value of attribute page_field_order.
-
#page_field_wrap_count ⇒ Object
Returns the value of attribute page_field_wrap_count.
-
#page_fields ⇒ Object
Returns the value of attribute page_fields.
-
#pivot_filters ⇒ Object
Returns the value of attribute pivot_filters.
-
#pivot_table_style_name ⇒ Object
Returns the value of attribute pivot_table_style_name.
-
#pivot_table_style_type ⇒ Object
Returns the value of attribute pivot_table_style_type.
-
#preserve_formatting ⇒ Object
Returns the value of attribute preserve_formatting.
-
#print_drill ⇒ Object
Returns the value of attribute print_drill.
-
#print_titles ⇒ Object
Returns the value of attribute print_titles.
-
#refresh_data_flag ⇒ Object
Returns the value of attribute refresh_data_flag.
-
#refresh_data_on_opening_file ⇒ Object
Returns the value of attribute refresh_data_on_opening_file.
-
#row_fields ⇒ Object
Returns the value of attribute row_fields.
-
#row_grand ⇒ Object
Returns the value of attribute row_grand.
-
#row_header_caption ⇒ Object
Returns the value of attribute row_header_caption.
-
#row_range ⇒ Object
Returns the value of attribute row_range.
-
#save_data ⇒ Object
Returns the value of attribute save_data.
-
#show_data_tips ⇒ Object
Returns the value of attribute show_data_tips.
-
#show_drill ⇒ Object
Returns the value of attribute show_drill.
-
#show_empty_col ⇒ Object
Returns the value of attribute show_empty_col.
-
#show_empty_row ⇒ Object
Returns the value of attribute show_empty_row.
-
#show_member_property_tips ⇒ Object
Returns the value of attribute show_member_property_tips.
-
#show_pivot_style_column_header ⇒ Object
Returns the value of attribute show_pivot_style_column_header.
-
#show_pivot_style_column_stripes ⇒ Object
Returns the value of attribute show_pivot_style_column_stripes.
-
#show_pivot_style_last_column ⇒ Object
Returns the value of attribute show_pivot_style_last_column.
-
#show_pivot_style_row_header ⇒ Object
Returns the value of attribute show_pivot_style_row_header.
-
#show_pivot_style_row_stripes ⇒ Object
Returns the value of attribute show_pivot_style_row_stripes.
-
#show_row_header_caption ⇒ Object
Returns the value of attribute show_row_header_caption.
-
#show_values_row ⇒ Object
Returns the value of attribute show_values_row.
-
#subtotal_hidden_page_items ⇒ Object
Returns the value of attribute subtotal_hidden_page_items.
-
#table_range1 ⇒ Object
Returns the value of attribute table_range1.
-
#table_range2 ⇒ Object
Returns the value of attribute table_range2.
-
#tag ⇒ Object
Returns the value of attribute tag.
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 = {}) ⇒ PivotTable
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 = {}) ⇒ PivotTable
Initializes the object
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 491 492 493 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 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 319 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?(:'link') self.link = attributes[:'link'] end if attributes.has_key?(:'ShowPivotStyleLastColumn') self.show_pivot_style_last_column = attributes[:'ShowPivotStyleLastColumn'] end if attributes.has_key?(:'RowHeaderCaption') self.row_header_caption = attributes[:'RowHeaderCaption'] end if attributes.has_key?(:'ColumnRange') self.column_range = attributes[:'ColumnRange'] end if attributes.has_key?(:'RefreshDataOnOpeningFile') self.refresh_data_on_opening_file = attributes[:'RefreshDataOnOpeningFile'] end if attributes.has_key?(:'PageFields') if (value = attributes[:'PageFields']).is_a?(Array) self.page_fields = value end end if attributes.has_key?(:'DataFields') if (value = attributes[:'DataFields']).is_a?(Array) self.data_fields = value end end if attributes.has_key?(:'DataBodyRange') self.data_body_range = attributes[:'DataBodyRange'] end if attributes.has_key?(:'ShowDrill') self.show_drill = attributes[:'ShowDrill'] end if attributes.has_key?(:'RefreshDataFlag') self.refresh_data_flag = attributes[:'RefreshDataFlag'] end if attributes.has_key?(:'ColumnGrand') self.column_grand = attributes[:'ColumnGrand'] end if attributes.has_key?(:'PivotTableStyleName') self.pivot_table_style_name = attributes[:'PivotTableStyleName'] end if attributes.has_key?(:'PivotFilters') if (value = attributes[:'PivotFilters']).is_a?(Array) self.pivot_filters = value end end if attributes.has_key?(:'NullString') self.null_string = attributes[:'NullString'] end if attributes.has_key?(:'ItemPrintTitles') self.item_print_titles = attributes[:'ItemPrintTitles'] end if attributes.has_key?(:'DisplayNullString') self.display_null_string = attributes[:'DisplayNullString'] end if attributes.has_key?(:'EnableFieldList') self.enable_field_list = attributes[:'EnableFieldList'] end if attributes.has_key?(:'TableRange2') self.table_range2 = attributes[:'TableRange2'] end if attributes.has_key?(:'RowFields') if (value = attributes[:'RowFields']).is_a?(Array) self.row_fields = value end end if attributes.has_key?(:'PageFieldOrder') self.page_field_order = attributes[:'PageFieldOrder'] end if attributes.has_key?(:'AutoFormatType') self.auto_format_type = attributes[:'AutoFormatType'] end if attributes.has_key?(:'EnableDataValueEditing') self.enable_data_value_editing = attributes[:'EnableDataValueEditing'] end if attributes.has_key?(:'ShowPivotStyleRowHeader') self.show_pivot_style_row_header = attributes[:'ShowPivotStyleRowHeader'] end if attributes.has_key?(:'IsGridDropZones') self.is_grid_drop_zones = attributes[:'IsGridDropZones'] end if attributes.has_key?(:'EnableWizard') self.enable_wizard = attributes[:'EnableWizard'] end if attributes.has_key?(:'ShowMemberPropertyTips') self.show_member_property_tips = attributes[:'ShowMemberPropertyTips'] end if attributes.has_key?(:'AltTextDescription') self.alt_text_description = attributes[:'AltTextDescription'] end if attributes.has_key?(:'ShowDataTips') self.show_data_tips = attributes[:'ShowDataTips'] end if attributes.has_key?(:'PrintTitles') self.print_titles = attributes[:'PrintTitles'] end if attributes.has_key?(:'TableRange1') self.table_range1 = attributes[:'TableRange1'] end if attributes.has_key?(:'ShowEmptyRow') self.show_empty_row = attributes[:'ShowEmptyRow'] end if attributes.has_key?(:'IsMultipleFieldFilters') self.is_multiple_field_filters = attributes[:'IsMultipleFieldFilters'] end if attributes.has_key?(:'ShowEmptyCol') self.show_empty_col = attributes[:'ShowEmptyCol'] end if attributes.has_key?(:'ShowRowHeaderCaption') self.show_row_header_caption = attributes[:'ShowRowHeaderCaption'] end if attributes.has_key?(:'HasBlankRows') self.has_blank_rows = attributes[:'HasBlankRows'] end if attributes.has_key?(:'DataSource') if (value = attributes[:'DataSource']).is_a?(Array) self.data_source = value end end if attributes.has_key?(:'Tag') self.tag = attributes[:'Tag'] end if attributes.has_key?(:'EnableDrilldown') self.enable_drilldown = attributes[:'EnableDrilldown'] end if attributes.has_key?(:'Indent') self.indent = attributes[:'Indent'] end if attributes.has_key?(:'Name') self.name = attributes[:'Name'] end if attributes.has_key?(:'RowGrand') self.row_grand = attributes[:'RowGrand'] end if attributes.has_key?(:'GrandTotalName') self.grand_total_name = attributes[:'GrandTotalName'] end if attributes.has_key?(:'DisplayErrorString') self.display_error_string = attributes[:'DisplayErrorString'] end if attributes.has_key?(:'RowRange') self.row_range = attributes[:'RowRange'] end if attributes.has_key?(:'IsSelected') self.is_selected = attributes[:'IsSelected'] end if attributes.has_key?(:'ColumnFields') if (value = attributes[:'ColumnFields']).is_a?(Array) self.column_fields = value end end if attributes.has_key?(:'ColumnHeaderCaption') self.column_header_caption = attributes[:'ColumnHeaderCaption'] end if attributes.has_key?(:'ShowValuesRow') self.show_values_row = attributes[:'ShowValuesRow'] end if attributes.has_key?(:'EnableFieldDialog') self.enable_field_dialog = attributes[:'EnableFieldDialog'] end if attributes.has_key?(:'MissingItemsLimit') self.missing_items_limit = attributes[:'MissingItemsLimit'] end if attributes.has_key?(:'ShowPivotStyleRowStripes') self.show_pivot_style_row_stripes = attributes[:'ShowPivotStyleRowStripes'] end if attributes.has_key?(:'ManualUpdate') self.manual_update = attributes[:'ManualUpdate'] end if attributes.has_key?(:'IsAutoFormat') self.is_auto_format = attributes[:'IsAutoFormat'] end if attributes.has_key?(:'DisplayImmediateItems') self.display_immediate_items = attributes[:'DisplayImmediateItems'] end if attributes.has_key?(:'ErrorString') self.error_string = attributes[:'ErrorString'] end if attributes.has_key?(:'CustomListSort') self.custom_list_sort = attributes[:'CustomListSort'] end if attributes.has_key?(:'MergeLabels') self.merge_labels = attributes[:'MergeLabels'] end if attributes.has_key?(:'PageFieldWrapCount') self.page_field_wrap_count = attributes[:'PageFieldWrapCount'] end if attributes.has_key?(:'ShowPivotStyleColumnStripes') self.show_pivot_style_column_stripes = attributes[:'ShowPivotStyleColumnStripes'] end if attributes.has_key?(:'FieldListSortAscending') self.field_list_sort_ascending = attributes[:'FieldListSortAscending'] end if attributes.has_key?(:'AltTextTitle') self.alt_text_title = attributes[:'AltTextTitle'] end if attributes.has_key?(:'PreserveFormatting') self.preserve_formatting = attributes[:'PreserveFormatting'] end if attributes.has_key?(:'PivotTableStyleType') self.pivot_table_style_type = attributes[:'PivotTableStyleType'] end if attributes.has_key?(:'DataField') self.data_field = attributes[:'DataField'] end if attributes.has_key?(:'SaveData') self.save_data = attributes[:'SaveData'] end if attributes.has_key?(:'SubtotalHiddenPageItems') self.subtotal_hidden_page_items = attributes[:'SubtotalHiddenPageItems'] end if attributes.has_key?(:'PrintDrill') self.print_drill = attributes[:'PrintDrill'] end if attributes.has_key?(:'ShowPivotStyleColumnHeader') self.show_pivot_style_column_header = attributes[:'ShowPivotStyleColumnHeader'] end if attributes.has_key?(:'BaseFields') if (value = attributes[:'BaseFields']).is_a?(Array) self.base_fields = value end end end |
Instance Attribute Details
#alt_text_description ⇒ Object
Returns the value of attribute alt_text_description.
80 81 82 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 80 def alt_text_description @alt_text_description end |
#alt_text_title ⇒ Object
Returns the value of attribute alt_text_title.
148 149 150 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 148 def alt_text_title @alt_text_title end |
#auto_format_type ⇒ Object
Returns the value of attribute auto_format_type.
68 69 70 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 68 def auto_format_type @auto_format_type end |
#base_fields ⇒ Object
Returns the value of attribute base_fields.
164 165 166 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 164 def base_fields @base_fields end |
#column_fields ⇒ Object
Returns the value of attribute column_fields.
118 119 120 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 118 def column_fields @column_fields end |
#column_grand ⇒ Object
Returns the value of attribute column_grand.
48 49 50 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 48 def column_grand @column_grand end |
#column_header_caption ⇒ Object
Returns the value of attribute column_header_caption.
120 121 122 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 120 def column_header_caption @column_header_caption end |
#column_range ⇒ Object
Returns the value of attribute column_range.
34 35 36 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 34 def column_range @column_range end |
#custom_list_sort ⇒ Object
Returns the value of attribute custom_list_sort.
138 139 140 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 138 def custom_list_sort @custom_list_sort end |
#data_body_range ⇒ Object
Returns the value of attribute data_body_range.
42 43 44 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 42 def data_body_range @data_body_range end |
#data_field ⇒ Object
Returns the value of attribute data_field.
154 155 156 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 154 def data_field @data_field end |
#data_fields ⇒ Object
Returns the value of attribute data_fields.
40 41 42 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 40 def data_fields @data_fields end |
#data_source ⇒ Object
Returns the value of attribute data_source.
98 99 100 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 98 def data_source @data_source end |
#display_error_string ⇒ Object
Returns the value of attribute display_error_string.
112 113 114 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 112 def display_error_string @display_error_string end |
#display_immediate_items ⇒ Object
Returns the value of attribute display_immediate_items.
134 135 136 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 134 def display_immediate_items @display_immediate_items end |
#display_null_string ⇒ Object
Returns the value of attribute display_null_string.
58 59 60 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 58 def display_null_string @display_null_string end |
#enable_data_value_editing ⇒ Object
Returns the value of attribute enable_data_value_editing.
70 71 72 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 70 def enable_data_value_editing @enable_data_value_editing end |
#enable_drilldown ⇒ Object
Returns the value of attribute enable_drilldown.
102 103 104 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 102 def enable_drilldown @enable_drilldown end |
#enable_field_dialog ⇒ Object
Returns the value of attribute enable_field_dialog.
124 125 126 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 124 def enable_field_dialog @enable_field_dialog end |
#enable_field_list ⇒ Object
Returns the value of attribute enable_field_list.
60 61 62 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 60 def enable_field_list @enable_field_list end |
#enable_wizard ⇒ Object
Returns the value of attribute enable_wizard.
76 77 78 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 76 def enable_wizard @enable_wizard end |
#error_string ⇒ Object
Returns the value of attribute error_string.
136 137 138 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 136 def error_string @error_string end |
#field_list_sort_ascending ⇒ Object
Returns the value of attribute field_list_sort_ascending.
146 147 148 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 146 def field_list_sort_ascending @field_list_sort_ascending end |
#grand_total_name ⇒ Object
Returns the value of attribute grand_total_name.
110 111 112 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 110 def grand_total_name @grand_total_name end |
#has_blank_rows ⇒ Object
Returns the value of attribute has_blank_rows.
96 97 98 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 96 def has_blank_rows @has_blank_rows end |
#indent ⇒ Object
Returns the value of attribute indent.
104 105 106 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 104 def indent @indent end |
#is_auto_format ⇒ Object
Returns the value of attribute is_auto_format.
132 133 134 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 132 def is_auto_format @is_auto_format end |
#is_grid_drop_zones ⇒ Object
Returns the value of attribute is_grid_drop_zones.
74 75 76 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 74 def is_grid_drop_zones @is_grid_drop_zones end |
#is_multiple_field_filters ⇒ Object
Returns the value of attribute is_multiple_field_filters.
90 91 92 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 90 def is_multiple_field_filters @is_multiple_field_filters end |
#is_selected ⇒ Object
Returns the value of attribute is_selected.
116 117 118 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 116 def is_selected @is_selected end |
#item_print_titles ⇒ Object
Returns the value of attribute item_print_titles.
56 57 58 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 56 def item_print_titles @item_print_titles end |
#link ⇒ Object
Returns the value of attribute link.
28 29 30 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 28 def link @link end |
#manual_update ⇒ Object
Returns the value of attribute manual_update.
130 131 132 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 130 def manual_update @manual_update end |
#merge_labels ⇒ Object
Returns the value of attribute merge_labels.
140 141 142 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 140 def merge_labels @merge_labels end |
#missing_items_limit ⇒ Object
Returns the value of attribute missing_items_limit.
126 127 128 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 126 def missing_items_limit @missing_items_limit end |
#name ⇒ Object
Returns the value of attribute name.
106 107 108 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 106 def name @name end |
#null_string ⇒ Object
Returns the value of attribute null_string.
54 55 56 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 54 def null_string @null_string end |
#page_field_order ⇒ Object
Returns the value of attribute page_field_order.
66 67 68 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 66 def page_field_order @page_field_order end |
#page_field_wrap_count ⇒ Object
Returns the value of attribute page_field_wrap_count.
142 143 144 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 142 def page_field_wrap_count @page_field_wrap_count end |
#page_fields ⇒ Object
Returns the value of attribute page_fields.
38 39 40 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 38 def page_fields @page_fields end |
#pivot_filters ⇒ Object
Returns the value of attribute pivot_filters.
52 53 54 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 52 def pivot_filters @pivot_filters end |
#pivot_table_style_name ⇒ Object
Returns the value of attribute pivot_table_style_name.
50 51 52 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 50 def pivot_table_style_name @pivot_table_style_name end |
#pivot_table_style_type ⇒ Object
Returns the value of attribute pivot_table_style_type.
152 153 154 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 152 def pivot_table_style_type @pivot_table_style_type end |
#preserve_formatting ⇒ Object
Returns the value of attribute preserve_formatting.
150 151 152 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 150 def preserve_formatting @preserve_formatting end |
#print_drill ⇒ Object
Returns the value of attribute print_drill.
160 161 162 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 160 def print_drill @print_drill end |
#print_titles ⇒ Object
Returns the value of attribute print_titles.
84 85 86 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 84 def print_titles @print_titles end |
#refresh_data_flag ⇒ Object
Returns the value of attribute refresh_data_flag.
46 47 48 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 46 def refresh_data_flag @refresh_data_flag end |
#refresh_data_on_opening_file ⇒ Object
Returns the value of attribute refresh_data_on_opening_file.
36 37 38 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 36 def refresh_data_on_opening_file @refresh_data_on_opening_file end |
#row_fields ⇒ Object
Returns the value of attribute row_fields.
64 65 66 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 64 def row_fields @row_fields end |
#row_grand ⇒ Object
Returns the value of attribute row_grand.
108 109 110 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 108 def row_grand @row_grand end |
#row_header_caption ⇒ Object
Returns the value of attribute row_header_caption.
32 33 34 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 32 def row_header_caption @row_header_caption end |
#row_range ⇒ Object
Returns the value of attribute row_range.
114 115 116 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 114 def row_range @row_range end |
#save_data ⇒ Object
Returns the value of attribute save_data.
156 157 158 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 156 def save_data @save_data end |
#show_data_tips ⇒ Object
Returns the value of attribute show_data_tips.
82 83 84 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 82 def show_data_tips @show_data_tips end |
#show_drill ⇒ Object
Returns the value of attribute show_drill.
44 45 46 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 44 def show_drill @show_drill end |
#show_empty_col ⇒ Object
Returns the value of attribute show_empty_col.
92 93 94 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 92 def show_empty_col @show_empty_col end |
#show_empty_row ⇒ Object
Returns the value of attribute show_empty_row.
88 89 90 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 88 def show_empty_row @show_empty_row end |
#show_member_property_tips ⇒ Object
Returns the value of attribute show_member_property_tips.
78 79 80 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 78 def show_member_property_tips @show_member_property_tips end |
#show_pivot_style_column_header ⇒ Object
Returns the value of attribute show_pivot_style_column_header.
162 163 164 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 162 def show_pivot_style_column_header @show_pivot_style_column_header end |
#show_pivot_style_column_stripes ⇒ Object
Returns the value of attribute show_pivot_style_column_stripes.
144 145 146 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 144 def show_pivot_style_column_stripes @show_pivot_style_column_stripes end |
#show_pivot_style_last_column ⇒ Object
Returns the value of attribute show_pivot_style_last_column.
30 31 32 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 30 def show_pivot_style_last_column @show_pivot_style_last_column end |
#show_pivot_style_row_header ⇒ Object
Returns the value of attribute show_pivot_style_row_header.
72 73 74 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 72 def show_pivot_style_row_header @show_pivot_style_row_header end |
#show_pivot_style_row_stripes ⇒ Object
Returns the value of attribute show_pivot_style_row_stripes.
128 129 130 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 128 def show_pivot_style_row_stripes @show_pivot_style_row_stripes end |
#show_row_header_caption ⇒ Object
Returns the value of attribute show_row_header_caption.
94 95 96 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 94 def show_row_header_caption @show_row_header_caption end |
#show_values_row ⇒ Object
Returns the value of attribute show_values_row.
122 123 124 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 122 def show_values_row @show_values_row end |
#subtotal_hidden_page_items ⇒ Object
Returns the value of attribute subtotal_hidden_page_items.
158 159 160 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 158 def subtotal_hidden_page_items @subtotal_hidden_page_items end |
#table_range1 ⇒ Object
Returns the value of attribute table_range1.
86 87 88 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 86 def table_range1 @table_range1 end |
#table_range2 ⇒ Object
Returns the value of attribute table_range2.
62 63 64 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 62 def table_range2 @table_range2 end |
#tag ⇒ Object
Returns the value of attribute tag.
100 101 102 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 100 def tag @tag end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
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 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 168 def self.attribute_map { :'link' => :'link', :'show_pivot_style_last_column' => :'ShowPivotStyleLastColumn', :'row_header_caption' => :'RowHeaderCaption', :'column_range' => :'ColumnRange', :'refresh_data_on_opening_file' => :'RefreshDataOnOpeningFile', :'page_fields' => :'PageFields', :'data_fields' => :'DataFields', :'data_body_range' => :'DataBodyRange', :'show_drill' => :'ShowDrill', :'refresh_data_flag' => :'RefreshDataFlag', :'column_grand' => :'ColumnGrand', :'pivot_table_style_name' => :'PivotTableStyleName', :'pivot_filters' => :'PivotFilters', :'null_string' => :'NullString', :'item_print_titles' => :'ItemPrintTitles', :'display_null_string' => :'DisplayNullString', :'enable_field_list' => :'EnableFieldList', :'table_range2' => :'TableRange2', :'row_fields' => :'RowFields', :'page_field_order' => :'PageFieldOrder', :'auto_format_type' => :'AutoFormatType', :'enable_data_value_editing' => :'EnableDataValueEditing', :'show_pivot_style_row_header' => :'ShowPivotStyleRowHeader', :'is_grid_drop_zones' => :'IsGridDropZones', :'enable_wizard' => :'EnableWizard', :'show_member_property_tips' => :'ShowMemberPropertyTips', :'alt_text_description' => :'AltTextDescription', :'show_data_tips' => :'ShowDataTips', :'print_titles' => :'PrintTitles', :'table_range1' => :'TableRange1', :'show_empty_row' => :'ShowEmptyRow', :'is_multiple_field_filters' => :'IsMultipleFieldFilters', :'show_empty_col' => :'ShowEmptyCol', :'show_row_header_caption' => :'ShowRowHeaderCaption', :'has_blank_rows' => :'HasBlankRows', :'data_source' => :'DataSource', :'tag' => :'Tag', :'enable_drilldown' => :'EnableDrilldown', :'indent' => :'Indent', :'name' => :'Name', :'row_grand' => :'RowGrand', :'grand_total_name' => :'GrandTotalName', :'display_error_string' => :'DisplayErrorString', :'row_range' => :'RowRange', :'is_selected' => :'IsSelected', :'column_fields' => :'ColumnFields', :'column_header_caption' => :'ColumnHeaderCaption', :'show_values_row' => :'ShowValuesRow', :'enable_field_dialog' => :'EnableFieldDialog', :'missing_items_limit' => :'MissingItemsLimit', :'show_pivot_style_row_stripes' => :'ShowPivotStyleRowStripes', :'manual_update' => :'ManualUpdate', :'is_auto_format' => :'IsAutoFormat', :'display_immediate_items' => :'DisplayImmediateItems', :'error_string' => :'ErrorString', :'custom_list_sort' => :'CustomListSort', :'merge_labels' => :'MergeLabels', :'page_field_wrap_count' => :'PageFieldWrapCount', :'show_pivot_style_column_stripes' => :'ShowPivotStyleColumnStripes', :'field_list_sort_ascending' => :'FieldListSortAscending', :'alt_text_title' => :'AltTextTitle', :'preserve_formatting' => :'PreserveFormatting', :'pivot_table_style_type' => :'PivotTableStyleType', :'data_field' => :'DataField', :'save_data' => :'SaveData', :'subtotal_hidden_page_items' => :'SubtotalHiddenPageItems', :'print_drill' => :'PrintDrill', :'show_pivot_style_column_header' => :'ShowPivotStyleColumnHeader', :'base_fields' => :'BaseFields' } end |
.swagger_types ⇒ Object
Attribute type mapping.
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 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 243 def self.swagger_types { :'link' => :'Link', :'show_pivot_style_last_column' => :'BOOLEAN', :'row_header_caption' => :'String', :'column_range' => :'CellArea', :'refresh_data_on_opening_file' => :'BOOLEAN', :'page_fields' => :'Array<PivotField>', :'data_fields' => :'Array<PivotField>', :'data_body_range' => :'CellArea', :'show_drill' => :'BOOLEAN', :'refresh_data_flag' => :'BOOLEAN', :'column_grand' => :'BOOLEAN', :'pivot_table_style_name' => :'String', :'pivot_filters' => :'Array<PivotFilter>', :'null_string' => :'String', :'item_print_titles' => :'BOOLEAN', :'display_null_string' => :'BOOLEAN', :'enable_field_list' => :'BOOLEAN', :'table_range2' => :'CellArea', :'row_fields' => :'Array<PivotField>', :'page_field_order' => :'String', :'auto_format_type' => :'String', :'enable_data_value_editing' => :'BOOLEAN', :'show_pivot_style_row_header' => :'BOOLEAN', :'is_grid_drop_zones' => :'BOOLEAN', :'enable_wizard' => :'BOOLEAN', :'show_member_property_tips' => :'BOOLEAN', :'alt_text_description' => :'String', :'show_data_tips' => :'BOOLEAN', :'print_titles' => :'BOOLEAN', :'table_range1' => :'CellArea', :'show_empty_row' => :'BOOLEAN', :'is_multiple_field_filters' => :'BOOLEAN', :'show_empty_col' => :'BOOLEAN', :'show_row_header_caption' => :'BOOLEAN', :'has_blank_rows' => :'BOOLEAN', :'data_source' => :'Array<String>', :'tag' => :'String', :'enable_drilldown' => :'BOOLEAN', :'indent' => :'Integer', :'name' => :'String', :'row_grand' => :'BOOLEAN', :'grand_total_name' => :'String', :'display_error_string' => :'BOOLEAN', :'row_range' => :'CellArea', :'is_selected' => :'BOOLEAN', :'column_fields' => :'Array<PivotField>', :'column_header_caption' => :'String', :'show_values_row' => :'BOOLEAN', :'enable_field_dialog' => :'BOOLEAN', :'missing_items_limit' => :'String', :'show_pivot_style_row_stripes' => :'BOOLEAN', :'manual_update' => :'BOOLEAN', :'is_auto_format' => :'BOOLEAN', :'display_immediate_items' => :'BOOLEAN', :'error_string' => :'String', :'custom_list_sort' => :'BOOLEAN', :'merge_labels' => :'BOOLEAN', :'page_field_wrap_count' => :'Integer', :'show_pivot_style_column_stripes' => :'BOOLEAN', :'field_list_sort_ascending' => :'BOOLEAN', :'alt_text_title' => :'String', :'preserve_formatting' => :'BOOLEAN', :'pivot_table_style_type' => :'String', :'data_field' => :'PivotField', :'save_data' => :'BOOLEAN', :'subtotal_hidden_page_items' => :'BOOLEAN', :'print_drill' => :'BOOLEAN', :'show_pivot_style_column_header' => :'BOOLEAN', :'base_fields' => :'Array<PivotField>' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
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 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 632 def ==(o) return true if self.equal?(o) self.class == o.class && link == o.link && show_pivot_style_last_column == o.show_pivot_style_last_column && row_header_caption == o.row_header_caption && column_range == o.column_range && refresh_data_on_opening_file == o.refresh_data_on_opening_file && page_fields == o.page_fields && data_fields == o.data_fields && data_body_range == o.data_body_range && show_drill == o.show_drill && refresh_data_flag == o.refresh_data_flag && column_grand == o.column_grand && pivot_table_style_name == o.pivot_table_style_name && pivot_filters == o.pivot_filters && null_string == o.null_string && item_print_titles == o.item_print_titles && display_null_string == o.display_null_string && enable_field_list == o.enable_field_list && table_range2 == o.table_range2 && row_fields == o.row_fields && page_field_order == o.page_field_order && auto_format_type == o.auto_format_type && enable_data_value_editing == o.enable_data_value_editing && show_pivot_style_row_header == o.show_pivot_style_row_header && is_grid_drop_zones == o.is_grid_drop_zones && enable_wizard == o.enable_wizard && show_member_property_tips == o.show_member_property_tips && alt_text_description == o.alt_text_description && show_data_tips == o.show_data_tips && print_titles == o.print_titles && table_range1 == o.table_range1 && show_empty_row == o.show_empty_row && is_multiple_field_filters == o.is_multiple_field_filters && show_empty_col == o.show_empty_col && show_row_header_caption == o.show_row_header_caption && has_blank_rows == o.has_blank_rows && data_source == o.data_source && tag == o.tag && enable_drilldown == o.enable_drilldown && indent == o.indent && name == o.name && row_grand == o.row_grand && grand_total_name == o.grand_total_name && display_error_string == o.display_error_string && row_range == o.row_range && is_selected == o.is_selected && column_fields == o.column_fields && column_header_caption == o.column_header_caption && show_values_row == o.show_values_row && enable_field_dialog == o.enable_field_dialog && missing_items_limit == o.missing_items_limit && show_pivot_style_row_stripes == o.show_pivot_style_row_stripes && manual_update == o.manual_update && is_auto_format == o.is_auto_format && display_immediate_items == o.display_immediate_items && error_string == o.error_string && custom_list_sort == o.custom_list_sort && merge_labels == o.merge_labels && page_field_wrap_count == o.page_field_wrap_count && show_pivot_style_column_stripes == o.show_pivot_style_column_stripes && field_list_sort_ascending == o.field_list_sort_ascending && alt_text_title == o.alt_text_title && preserve_formatting == o.preserve_formatting && pivot_table_style_type == o.pivot_table_style_type && data_field == o.data_field && save_data == o.save_data && subtotal_hidden_page_items == o.subtotal_hidden_page_items && print_drill == o.print_drill && show_pivot_style_column_header == o.show_pivot_style_column_header && base_fields == o.base_fields end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 742 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
808 809 810 811 812 813 814 815 816 817 818 819 820 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 808 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
721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 721 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
708 709 710 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 708 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
714 715 716 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 714 def hash [link, show_pivot_style_last_column, row_header_caption, column_range, refresh_data_on_opening_file, page_fields, data_fields, data_body_range, show_drill, refresh_data_flag, column_grand, pivot_table_style_name, pivot_filters, null_string, item_print_titles, display_null_string, enable_field_list, table_range2, row_fields, page_field_order, auto_format_type, enable_data_value_editing, show_pivot_style_row_header, is_grid_drop_zones, enable_wizard, show_member_property_tips, alt_text_description, show_data_tips, print_titles, table_range1, show_empty_row, is_multiple_field_filters, show_empty_col, show_row_header_caption, has_blank_rows, data_source, tag, enable_drilldown, indent, name, row_grand, grand_total_name, display_error_string, row_range, is_selected, column_fields, column_header_caption, show_values_row, enable_field_dialog, missing_items_limit, show_pivot_style_row_stripes, manual_update, is_auto_format, display_immediate_items, error_string, custom_list_sort, merge_labels, page_field_wrap_count, show_pivot_style_column_stripes, field_list_sort_ascending, alt_text_title, preserve_formatting, pivot_table_style_type, data_field, save_data, subtotal_hidden_page_items, print_drill, show_pivot_style_column_header, base_fields].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
619 620 621 622 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 619 def list_invalid_properties invalid_properties = Array.new return invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
788 789 790 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 788 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
794 795 796 797 798 799 800 801 802 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 794 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
782 783 784 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 782 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
626 627 628 |
# File 'lib/aspose_cells_cloud/models/pivot_table.rb', line 626 def valid? return true end |