Class: Google::Apis::DocsV1::TableRowStyle

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb

Overview

Styles that apply to a table row.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TableRowStyle

Returns a new instance of TableRowStyle.



5726
5727
5728
# File 'lib/google/apis/docs_v1/classes.rb', line 5726

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#min_row_heightGoogle::Apis::DocsV1::Dimension

A magnitude in a single direction in the specified units. Corresponds to the JSON property minRowHeight



5712
5713
5714
# File 'lib/google/apis/docs_v1/classes.rb', line 5712

def min_row_height
  @min_row_height
end

#prevent_overflowBoolean Also known as: prevent_overflow?

Whether the row cannot overflow across page or column boundaries. Corresponds to the JSON property preventOverflow

Returns:

  • (Boolean)


5717
5718
5719
# File 'lib/google/apis/docs_v1/classes.rb', line 5717

def prevent_overflow
  @prevent_overflow
end

#table_headerBoolean Also known as: table_header?

Whether the row is a table header. Corresponds to the JSON property tableHeader

Returns:

  • (Boolean)


5723
5724
5725
# File 'lib/google/apis/docs_v1/classes.rb', line 5723

def table_header
  @table_header
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5731
5732
5733
5734
5735
# File 'lib/google/apis/docs_v1/classes.rb', line 5731

def update!(**args)
  @min_row_height = args[:min_row_height] if args.key?(:min_row_height)
  @prevent_overflow = args[:prevent_overflow] if args.key?(:prevent_overflow)
  @table_header = args[:table_header] if args.key?(:table_header)
end