Class: AsposeWordsCloud::ReplaceWithTextRequest
- Inherits:
-
Object
- Object
- AsposeWordsCloud::ReplaceWithTextRequest
- Defined in:
- lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb
Overview
Request model for replace_with_text operation.
Instance Attribute Summary collapse
-
#dest_file_name ⇒ Object
Result path of the document after the operation.
-
#folder ⇒ Object
Original document folder.
-
#load_encoding ⇒ Object
Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
-
#name ⇒ Object
The document.
-
#password ⇒ Object
Password for opening an encrypted document.
-
#range_end_identifier ⇒ Object
The range end identifier.
-
#range_start_identifier ⇒ Object
The range start identifier.
-
#range_text ⇒ Object
Model with text for replacement.
-
#storage ⇒ Object
Original document storage.
Instance Method Summary collapse
-
#initialize(name, range_start_identifier, range_text, range_end_identifier, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil) ⇒ ReplaceWithTextRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(name, range_start_identifier, range_text, range_end_identifier, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil) ⇒ ReplaceWithTextRequest
Initializes a new instance.
65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 65 def initialize(name, range_start_identifier, range_text, range_end_identifier, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil) self.name = name self.range_start_identifier = range_start_identifier self.range_text = range_text self.range_end_identifier = range_end_identifier self.folder = folder self.storage = storage self.load_encoding = load_encoding self.password = password self.dest_file_name = dest_file_name end |
Instance Attribute Details
#dest_file_name ⇒ Object
Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
52 53 54 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 52 def dest_file_name @dest_file_name end |
#folder ⇒ Object
Original document folder.
44 45 46 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 44 def folder @folder end |
#load_encoding ⇒ Object
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/ReplaceWithTextRequest.rb', line 48 def load_encoding @load_encoding end |
#name ⇒ Object
The document.
36 37 38 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 36 def name @name end |
#password ⇒ Object
Password for opening an encrypted document.
50 51 52 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 50 def password @password end |
#range_end_identifier ⇒ Object
The range end identifier.
42 43 44 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 42 def range_end_identifier @range_end_identifier end |
#range_start_identifier ⇒ Object
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/ReplaceWithTextRequest.rb', line 38 def range_start_identifier @range_start_identifier end |
#range_text ⇒ Object
Model with text for replacement.
40 41 42 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 40 def range_text @range_text end |
#storage ⇒ Object
Original document storage.
46 47 48 |
# File 'lib/aspose_words_cloud/models/requests/ReplaceWithTextRequest.rb', line 46 def storage @storage end |