Class: AsposeWordsCloud::ExecuteMailMergeRequest

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

Overview

Request model for execute_mail_merge operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, data = nil, folder = nil, storage = nil, load_encoding = nil, password = nil, with_regions = nil, mail_merge_data_file = nil, cleanup = nil, use_whole_paragraph_as_region = nil, dest_file_name = nil) ⇒ ExecuteMailMergeRequest

Initializes a new instance.

Parameters:

  • name

    The document name.

  • data (defaults to: nil)

    Mail merge data

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

  • with_regions (defaults to: nil)

    With regions flag.

  • mail_merge_data_file (defaults to: nil)

    Mail merge data.

  • cleanup (defaults to: nil)

    Clean up options.

  • use_whole_paragraph_as_region (defaults to: nil)

    Gets or sets a value indicating whether paragraph with TableStart or TableEnd field should be fully included into mail merge region or particular range between TableStart and TableEnd fields. The default value is true.

  • dest_file_name (defaults to: nil)

    Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved with autogenerated name.



71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb', line 71

def initialize(name, data = nil, folder = nil, storage = nil, load_encoding = nil, password = nil, with_regions = nil, mail_merge_data_file = nil, cleanup = nil, use_whole_paragraph_as_region = nil, dest_file_name = nil)
   self.name = name
   self.data = data
   self.folder = folder
   self.storage = storage
   self.load_encoding = load_encoding
   self.password = password
   self.with_regions = with_regions
   self.mail_merge_data_file = mail_merge_data_file
   self.cleanup = cleanup
   self.use_whole_paragraph_as_region = use_whole_paragraph_as_region
   self.dest_file_name = dest_file_name
end

Instance Attribute Details

#cleanupObject

Clean up options.



52
53
54
# File 'lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb', line 52

def cleanup
  @cleanup
end

#dataObject

Mail merge data



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

def data
  @data
end

#dest_file_nameObject

Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved with autogenerated name.



56
57
58
# File 'lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb', line 56

def dest_file_name
  @dest_file_name
end

#folderObject

Original document folder.



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

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.



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

def load_encoding
  @load_encoding
end

#mail_merge_data_fileObject

Mail merge data.



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

def mail_merge_data_file
  @mail_merge_data_file
end

#nameObject

The document name.



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

def name
  @name
end

#passwordObject

Password for opening an encrypted document.



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

def password
  @password
end

#storageObject

Original document storage.



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

def storage
  @storage
end

#use_whole_paragraph_as_regionObject

Gets or sets a value indicating whether paragraph with TableStart or TableEnd field should be fully included into mail merge region or particular range between TableStart and TableEnd fields. The default value is true.



54
55
56
# File 'lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb', line 54

def use_whole_paragraph_as_region
  @use_whole_paragraph_as_region
end

#with_regionsObject

With regions flag.



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

def with_regions
  @with_regions
end