Class: Onlyoffice::DocsIntegrationSdk::DocumentServer::Client::ConversionService::Request::SpreadsheetLayout

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/onlyoffice/docs_integration_sdk/document_server/client/conversion.rb

Overview

Since:

  • 0.1.0

Defined Under Namespace

Classes: Margins, Orientation, PageSize

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fit_to_height: nil, fit_to_width: nil, grid_lines: nil, headings: nil, ignore_print_area: nil, margins: nil, orientation: nil, page_size: nil, scale: nil) ⇒ void

Parameters:

  • fit_to_height (Integer, nil) (defaults to: nil) —

    @since 0.1.0

  • fit_to_width (Integer, nil) (defaults to: nil) —

    @since 0.1.0

  • grid_lines (Boolean, nil) (defaults to: nil) —

    @since 0.1.0

  • headings (Boolean, nil) (defaults to: nil) —

    @since 0.1.0

  • ignore_print_area (Boolean, nil) (defaults to: nil) —

    @since 0.1.0

  • margins (Margins, nil) (defaults to: nil) —

    @since 0.1.0

  • orientation (Orientation, nil) (defaults to: nil) —

    @since 0.1.0

  • page_size (PageSize, nil) (defaults to: nil) —

    @since 0.1.0

  • scale (Integer, nil) (defaults to: nil) —

    @since 0.1.0



# File ''

prop :fit_to_height, T.nilable(Integer), name: "fitToHeight"
prop :fit_to_width, T.nilable(Integer), name: "fitToWidth"
prop :grid_lines, T.nilable(T::Boolean), name: "gridLines"
prop :headings, T.nilable(T::Boolean), name: "headings"
prop :ignore_print_area, T.nilable(T::Boolean), name: "ignorePrintArea"
prop :margins, T.nilable(Margins), name: "margins"
prop :orientation, T.nilable(Orientation), name: "orientation"
prop :page_size, T.nilable(PageSize), name: "pageSize"
prop :scale, T.nilable(Integer), name: "scale"

Instance Attribute Details

#fit_to_height ⇒ Integer?

Returns:

  • (Integer, nil)

Since:

  • 0.1.0



# File ''

prop :fit_to_height, T.nilable(Integer), name: "fitToHeight"

#fit_to_width ⇒ Integer?

Returns:

  • (Integer, nil)

Since:

  • 0.1.0



# File ''

prop :fit_to_width, T.nilable(Integer), name: "fitToWidth"

#grid_lines ⇒ Boolean?

Returns:

  • (Boolean, nil)

Since:

  • 0.1.0



# File ''

prop :grid_lines, T.nilable(T::Boolean), name: "gridLines"

#headings ⇒ Boolean?

Returns:

  • (Boolean, nil)

Since:

  • 0.1.0



# File ''

prop :headings, T.nilable(T::Boolean), name: "headings"

#ignore_print_area ⇒ Boolean?

Returns:

  • (Boolean, nil)

Since:

  • 0.1.0



# File ''

prop :ignore_print_area, T.nilable(T::Boolean), name: "ignorePrintArea"

#margins ⇒ Margins?

Returns:

Since:

  • 0.1.0



# File ''

prop :margins, T.nilable(Margins), name: "margins"

#orientation ⇒ Orientation?

Returns:

Since:

  • 0.1.0



# File ''

prop :orientation, T.nilable(Orientation), name: "orientation"

#page_size ⇒ PageSize?

Returns:

Since:

  • 0.1.0



# File ''

prop :page_size, T.nilable(PageSize), name: "pageSize"

#scale ⇒ Integer?

Returns:

  • (Integer, nil)

Since:

  • 0.1.0



# File ''

prop :scale, T.nilable(Integer), name: "scale"

Class Method Details

.from_hash(hash, strict = nil) ⇒ SpreadsheetLayout

Parameters:

  • hash (T.untyped)
  • strict (T.untyped) (defaults to: nil)

Returns:

Since:

  • 0.1.0



302
303
304
# File 'lib/onlyoffice/docs_integration_sdk/document_server/client/conversion.rb', line 302

def self.from_hash(hash, strict = nil)
  super(hash, strict)
end