| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentCart\OpenSpout\Writer\Common\Entity; |
| 4 |
|
| 5 |
/** |
| 6 |
* Writers' options holder. |
| 7 |
*/ |
| 8 |
abstract class Options |
| 9 |
{ |
| 10 |
// CSV specific options |
| 11 |
public const FIELD_DELIMITER = 'fieldDelimiter'; |
| 12 |
public const FIELD_ENCLOSURE = 'fieldEnclosure'; |
| 13 |
public const SHOULD_ADD_BOM = 'shouldAddBOM'; |
| 14 |
// Multisheets options |
| 15 |
public const TEMP_FOLDER = 'tempFolder'; |
| 16 |
public const DEFAULT_ROW_STYLE = 'defaultRowStyle'; |
| 17 |
public const SHOULD_CREATE_NEW_SHEETS_AUTOMATICALLY = 'shouldCreateNewSheetsAutomatically'; |
| 18 |
// XLSX specific options |
| 19 |
public const SHOULD_USE_INLINE_STRINGS = 'shouldUseInlineStrings'; |
| 20 |
// Cell size options |
| 21 |
public const DEFAULT_COLUMN_WIDTH = 'defaultColumnWidth'; |
| 22 |
public const DEFAULT_ROW_HEIGHT = 'defaultRowHeight'; |
| 23 |
public const COLUMN_WIDTHS = 'columnWidthDefinition'; |
| 24 |
// XLSX merge cells |
| 25 |
public const MERGE_CELLS = 'mergeCells'; |
| 26 |
} |
| 27 |
|