Class: AsposeWordsCloud::SaveAsRangeRequest

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

Overview

Request model for save_as_range operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, range_start_identifier, document_parameters, range_end_identifier, folder = nil, storage = nil, load_encoding = nil, password = nil) ⇒ SaveAsRangeRequest

Initializes a new instance.

Parameters:

  • name

    The document.

  • range_start_identifier

    The range start identifier. Identifier is the value of the "nodeId" field, which every document node has, extended with the prefix "id". It looks like "id0.0.7". Also values like "image5" and "table3" can be used as an identifier for images and tables, where the number is an index of the image/table.

  • document_parameters

    Parameters of a new document.

  • range_end_identifier

    The range end identifier.

  • folder (defaults to: nil)

    Original document folder.

  • storage (defaults to: nil)

    Original document storage.

  • 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.



62
63
64
65
66
67
68
69
70
71
# File 'lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb', line 62

def initialize(name, range_start_identifier, document_parameters, range_end_identifier, folder = nil, storage = nil, load_encoding = nil, password = nil)
   self.name = name
   self.range_start_identifier = range_start_identifier
   self.document_parameters = document_parameters
   self.range_end_identifier = range_end_identifier
   self.folder = folder
   self.storage = storage
   self.load_encoding = load_encoding
   self.password = password
end

Instance Attribute Details

#document_parametersObject

Parameters of a new document.



40
41
42
# File 'lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb', line 40

def document_parameters
  @document_parameters
end

#folderObject

Original document folder.



44
45
46
# File 'lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb', line 44

def folder
  @folder
end

#load_encodingObject

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



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

def load_encoding
  @load_encoding
end

#nameObject

The document.



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

def name
  @name
end

#passwordObject

Password for opening an encrypted document.



50
51
52
# File 'lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb', line 50

def password
  @password
end

#range_end_identifierObject

The range end identifier.



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

def range_end_identifier
  @range_end_identifier
end

#range_start_identifierObject

The range start identifier. Identifier is the value of the "nodeId" field, which every document node has, extended with the prefix "id". It looks like "id0.0.7". Also values like "image5" and "table3" can be used as an identifier for images and tables, where the number is an index of the image/table.



38
39
40
# File 'lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb', line 38

def range_start_identifier
  @range_start_identifier
end

#storageObject

Original document storage.



46
47
48
# File 'lib/aspose_words_cloud/models/requests/SaveAsRangeRequest.rb', line 46

def storage
  @storage
end