|
| 1 | +// -------------------------------------------------------------------------------------------------------------------- |
| 2 | +// <copyright company="Aspose" file="AddTextOptions.cs"> |
| 3 | +// Copyright (c) 2024 Aspose.Cells Cloud |
| 4 | +// </copyright> |
| 5 | +// <summary> |
| 6 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +// of this software and associated documentation files (the "Software"), to deal |
| 8 | +// in the Software without restriction, including without limitation the rights |
| 9 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +// copies of the Software, and to permit persons to whom the Software is |
| 11 | +// furnished to do so, subject to the following conditions: |
| 12 | +// |
| 13 | +// The above copyright notice and this permission notice shall be included in all |
| 14 | +// copies or substantial portions of the Software. |
| 15 | +// |
| 16 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +// SOFTWARE. |
| 23 | +// </summary> |
| 24 | +// -------------------------------------------------------------------------------------------------------------------- |
| 25 | + |
| 26 | +namespace Aspose.Cells.Cloud.SDK.Model |
| 27 | +{ |
| 28 | + using System; |
| 29 | + using System.Collections; |
| 30 | + using System.Collections.Generic; |
| 31 | + using System.Runtime.Serialization; |
| 32 | + using System.Text; |
| 33 | + using System.Drawing; |
| 34 | + using Newtonsoft.Json; |
| 35 | + using Newtonsoft.Json.Converters; |
| 36 | + |
| 37 | + /// <summary> |
| 38 | + /// |
| 39 | + /// </summary> |
| 40 | + public class AddTextOptions : BaseOperateOptions |
| 41 | + { |
| 42 | + /// <summary> |
| 43 | + /// |
| 44 | + /// </summary> |
| 45 | + public override string Name { get; set; } |
| 46 | + |
| 47 | + /// <summary> |
| 48 | + /// |
| 49 | + /// </summary> |
| 50 | + public virtual DataSource DataSource { get; set; } |
| 51 | + |
| 52 | + /// <summary> |
| 53 | + /// |
| 54 | + /// </summary> |
| 55 | + public virtual FileInfo FileInfo { get; set; } |
| 56 | + |
| 57 | + /// <summary> |
| 58 | + /// |
| 59 | + /// </summary> |
| 60 | + public virtual string Text { get; set; } |
| 61 | + |
| 62 | + /// <summary> |
| 63 | + /// |
| 64 | + /// </summary> |
| 65 | + public virtual string Worksheet { get; set; } |
| 66 | + |
| 67 | + /// <summary> |
| 68 | + /// |
| 69 | + /// </summary> |
| 70 | + public virtual string Range { get; set; } |
| 71 | + |
| 72 | + /// <summary> |
| 73 | + /// |
| 74 | + /// </summary> |
| 75 | + public virtual string SelectPoistion { get; set; } |
| 76 | + |
| 77 | + /// <summary> |
| 78 | + /// |
| 79 | + /// </summary> |
| 80 | + public virtual string SelectText { get; set; } |
| 81 | + |
| 82 | + /// <summary> |
| 83 | + /// |
| 84 | + /// </summary> |
| 85 | + public virtual bool? SkipEmptyCells { get; set; } |
| 86 | + |
| 87 | + /// <summary> |
| 88 | + /// Get the string presentation of the object. |
| 89 | + /// </summary> |
| 90 | + /// <returns>String presentation of the object.</returns> |
| 91 | + public override string ToString() |
| 92 | + { |
| 93 | + var sb = new StringBuilder(); |
| 94 | + sb.Append("class AddTextOptions {\n"); |
| 95 | + sb.Append(" Name: ").Append(this.Name).Append("\n"); |
| 96 | + sb.Append(" DataSource: ").Append(this.DataSource).Append("\n"); |
| 97 | + sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n"); |
| 98 | + sb.Append(" Text: ").Append(this.Text).Append("\n"); |
| 99 | + sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n"); |
| 100 | + sb.Append(" Range: ").Append(this.Range).Append("\n"); |
| 101 | + sb.Append(" SelectPoistion: ").Append(this.SelectPoistion).Append("\n"); |
| 102 | + sb.Append(" SelectText: ").Append(this.SelectText).Append("\n"); |
| 103 | + sb.Append(" SkipEmptyCells: ").Append(this.SkipEmptyCells).Append("\n"); |
| 104 | + sb.Append("}\n"); |
| 105 | + return sb.ToString(); |
| 106 | + } |
| 107 | + } |
| 108 | +} |
0 commit comments