Class: AsposeWordsCloud::GetHeaderFooterOfSectionOnlineRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb

Overview

Request model for get_header_footer_of_section_online operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(document, header_footer_index, section_index, load_encoding = nil, password = nil, filter_by_type = nil) ⇒ GetHeaderFooterOfSectionOnlineRequest

Initializes a new instance.

Parameters:

  • document

    The document.

  • header_footer_index

    The index of the HeaderFooter object.

  • section_index

    The index of the section.

  • load_encoding (defaults to: nil)

    Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.

  • password (defaults to: nil)

    Password for opening an encrypted document.

  • filter_by_type (defaults to: nil)

    The list of HeaderFooter types.



59
60
61
62
63
64
65
66
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 59

def initialize(document, header_footer_index, section_index, load_encoding = nil, password = nil, filter_by_type = nil)
  self.document = document
  self.header_footer_index = header_footer_index
  self.section_index = section_index
  self.load_encoding = load_encoding
  self.password = password
  self.filter_by_type = filter_by_type
end

Instance Attribute Details

#documentObject

The document.



33
34
35
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 33

def document
  @document
end

#filter_by_typeObject

The list of HeaderFooter types.



48
49
50
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 48

def filter_by_type
  @filter_by_type
end

The index of the HeaderFooter object.



36
37
38
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 36

def header_footer_index
  @header_footer_index
end

#load_encodingObject

Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.



42
43
44
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 42

def load_encoding
  @load_encoding
end

#passwordObject

Password for opening an encrypted document.



45
46
47
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 45

def password
  @password
end

#section_indexObject

The index of the section.



39
40
41
# File 'lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb', line 39

def section_index
  @section_index
end