Class: WordsRubySdk::PostSplitDocumentRequest
- Inherits:
-
Object
- Object
- WordsRubySdk::PostSplitDocumentRequest
- Defined in:
- lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb
Overview
Request model for post_split_document operation.
Instance Attribute Summary collapse
-
#dest_file_name ⇒ Object
Result name of the document after the operation.
-
#folder ⇒ Object
Original document folder.
-
#fonts_location ⇒ Object
Folder in filestorage with custom fonts.
-
#format ⇒ Object
Format to split.
-
#from ⇒ Object
Start page.
-
#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
Original document name.
-
#password ⇒ Object
Password for opening an encrypted document.
-
#storage ⇒ Object
File storage, which have to be used.
-
#to ⇒ Object
End page.
-
#zip_output ⇒ Object
ZipOutput or not.
Instance Method Summary collapse
-
#initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, format = nil, from = nil, to = nil, zip_output = nil, fonts_location = nil) ⇒ PostSplitDocumentRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, format = nil, from = nil, to = nil, zip_output = nil, fonts_location = nil) ⇒ PostSplitDocumentRequest
Initializes a new instance.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 71 def initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, format = nil, from = nil, to = nil, zip_output = nil, fonts_location = nil) self.name = name self.folder = folder self.storage = storage self.load_encoding = load_encoding self.password = password self.dest_file_name = dest_file_name self.format = format self.from = from self.to = to self.zip_output = zip_output self.fonts_location = fonts_location end |
Instance Attribute Details
#dest_file_name ⇒ Object
Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
46 47 48 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 46 def dest_file_name @dest_file_name end |
#folder ⇒ Object
Original document folder.
38 39 40 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 38 def folder @folder end |
#fonts_location ⇒ Object
Folder in filestorage with custom fonts.
56 57 58 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 56 def fonts_location @fonts_location end |
#format ⇒ Object
Format to split.
48 49 50 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 48 def format @format end |
#from ⇒ Object
Start page.
50 51 52 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 50 def from @from end |
#load_encoding ⇒ Object
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/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 42 def load_encoding @load_encoding end |
#name ⇒ Object
Original document name.
36 37 38 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 36 def name @name end |
#password ⇒ Object
Password for opening an encrypted document.
44 45 46 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 44 def password @password end |
#storage ⇒ Object
File storage, which have to be used.
40 41 42 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 40 def storage @storage end |
#to ⇒ Object
End page.
52 53 54 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 52 def to @to end |
#zip_output ⇒ Object
ZipOutput or not.
54 55 56 |
# File 'lib/words_ruby_sdk/models/requests/PostSplitDocumentRequest.rb', line 54 def zip_output @zip_output end |