|
| 1 | +/* |
| 2 | + * Copyright (c) 2022 Aspose.Cells Cloud |
| 3 | + * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 4 | + * of this software and associated documentation files (the "Software"), to deal |
| 5 | + * in the Software without restriction, including without limitation the rights |
| 6 | + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 7 | + * copies of the Software, and to permit persons to whom the Software is |
| 8 | + * furnished to do so, subject to the following conditions: |
| 9 | + * |
| 10 | + * The above copyright notice and this permission notice shall be included in all |
| 11 | + * copies or substantial portions of the Software. |
| 12 | + * |
| 13 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 14 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 15 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 16 | + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 17 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 18 | + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 19 | + * SOFTWARE. |
| 20 | + * |
| 21 | + */ |
| 22 | + |
| 23 | +package asposecellscloud |
| 24 | + |
| 25 | +type SqlScriptSaveOptions struct { |
| 26 | + EnableHTTPCompression bool `json:"EnableHTTPCompression,omitempty" xml:"EnableHTTPCompression"` |
| 27 | + SaveFormat string `json:"SaveFormat,omitempty" xml:"SaveFormat"` |
| 28 | + // Make the workbook empty after saving the file. |
| 29 | + ClearData bool `json:"ClearData,omitempty" xml:"ClearData"` |
| 30 | + // The cached file folder is used to store some large data. |
| 31 | + CachedFileFolder string `json:"CachedFileFolder,omitempty" xml:"CachedFileFolder"` |
| 32 | + // Indicates whether validate merged areas before saving the file. The default value is false. |
| 33 | + ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"` |
| 34 | + RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"` |
| 35 | + // If true and the directory does not exist, the directory will be automatically created before saving the file. |
| 36 | + CreateDirectory bool `json:"CreateDirectory,omitempty" xml:"CreateDirectory"` |
| 37 | + SortNames bool `json:"SortNames,omitempty" xml:"SortNames"` |
| 38 | + CheckIfTableExists bool `json:"CheckIfTableExists,omitempty" xml:"CheckIfTableExists"` |
| 39 | + ColumnTypeMap string `json:"ColumnTypeMap,omitempty" xml:"ColumnTypeMap"` |
| 40 | + CheckAllDataForColumnType bool `json:"CheckAllDataForColumnType,omitempty" xml:"CheckAllDataForColumnType"` |
| 41 | + AddBlankLineBetweenRows bool `json:"AddBlankLineBetweenRows,omitempty" xml:"AddBlankLineBetweenRows"` |
| 42 | + OperatorType string `json:"OperatorType,omitempty" xml:"OperatorType"` |
| 43 | + CreateTable bool `json:"CreateTable,omitempty" xml:"CreateTable"` |
| 44 | + IdName string `json:"IdName,omitempty" xml:"IdName"` |
| 45 | + StartId int64 `json:"StartId,omitempty" xml:"StartId"` |
| 46 | + TableName string `json:"TableName,omitempty" xml:"TableName"` |
| 47 | + ExportAsString bool `json:"ExportAsString,omitempty" xml:"ExportAsString"` |
| 48 | + ExportArea *CellArea `json:"ExportArea,omitempty" xml:"ExportArea"` |
| 49 | + HasHeaderRow bool `json:"HasHeaderRow,omitempty" xml:"HasHeaderRow"` |
| 50 | +} |
0 commit comments