Class: AsposeWordsCloud::GetRangeTextRequest

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

Overview

Request model for get_range_text operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

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.

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



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

def initialize(name, range_start_identifier, range_end_identifier, folder = nil, storage = nil, load_encoding = nil, password = nil)
   self.name = name
   self.range_start_identifier = range_start_identifier
   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

#folderObject

Original document folder.



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

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.



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

def load_encoding
  @load_encoding
end

#nameObject

The document.



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

def name
  @name
end

#passwordObject

Password for opening an encrypted document.



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

def password
  @password
end

#range_end_identifierObject

The range end identifier.



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

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/GetRangeTextRequest.rb', line 38

def range_start_identifier
  @range_start_identifier
end

#storageObject

Original document storage.



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

def storage
  @storage
end