Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InsertOrUpdateParagraphTabStopRequest"/> class.
 /// </summary>
 /// <param name="name">The filename of the input document.</param>
 /// <param name="index">Object index.</param>
 /// <param name="tabStopInsertDto">TabStopInsert dto.</param>
 /// <param name="nodePath">The path to the node in the document tree.</param>
 /// <param name="folder">Original document folder.</param>
 /// <param name="storage">Original document storage.</param>
 /// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
 /// <param name="password">Password for opening an encrypted document.</param>
 /// <param name="destFileName">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.</param>
 public InsertOrUpdateParagraphTabStopRequest(string name, int index, TabStopInsert tabStopInsertDto, string nodePath = null, string folder = null, string storage = null, string loadEncoding = null, string password = null, string destFileName = null)
 {
     this.Name             = name;
     this.Index            = index;
     this.TabStopInsertDto = tabStopInsertDto;
     this.NodePath         = nodePath;
     this.Folder           = folder;
     this.Storage          = storage;
     this.LoadEncoding     = loadEncoding;
     this.Password         = password;
     this.DestFileName     = destFileName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InsertOrUpdateParagraphTabStopOnlineRequest"/> class.
 /// </summary>
 /// <param name="document">The document.</param>
 /// <param name="tabStopInsertDto">TabStopInsert dto.</param>
 /// <param name="index">Object index.</param>
 /// <param name="nodePath">The path to the node in the document tree.</param>
 /// <param name="loadEncoding">Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.</param>
 /// <param name="password">Password for opening an encrypted document.</param>
 /// <param name="destFileName">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.</param>
 public InsertOrUpdateParagraphTabStopOnlineRequest(System.IO.Stream document, TabStopInsert tabStopInsertDto, int index, string nodePath = null, string loadEncoding = null, string password = null, string destFileName = null)
 {
     this.Document         = document;
     this.TabStopInsertDto = tabStopInsertDto;
     this.Index            = index;
     this.NodePath         = nodePath;
     this.LoadEncoding     = loadEncoding;
     this.Password         = password;
     this.DestFileName     = destFileName;
 }