PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.4.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.4.7
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
visualizer / vendor / phpoffice / phpspreadsheet / src / PhpSpreadsheet / Writer / IWriter.php

IWriter.php in Visualizer – Tables & Charts Manager with Built-in AI Generator 3.4.7, at vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/IWriter.php

94 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace PhpOffice\PhpSpreadsheet\Writer;
4
5 use PhpOffice\PhpSpreadsheet\Spreadsheet;
6
7 interface IWriter
8 {
9 /**
10 * IWriter constructor.
11 *
12 * @param Spreadsheet $spreadsheet
13 */
14 public function __construct(Spreadsheet $spreadsheet);
15
16 /**
17 * Write charts in workbook?
18 * If this is true, then the Writer will write definitions for any charts that exist in the PhpSpreadsheet object.
19 * If false (the default) it will ignore any charts defined in the PhpSpreadsheet object.
20 *
21 * @return bool
22 */
23 public function getIncludeCharts();
24
25 /**
26 * Set write charts in workbook
27 * Set to true, to advise the Writer to include any charts that exist in the PhpSpreadsheet object.
28 * Set to false (the default) to ignore charts.
29 *
30 * @param bool $pValue
31 *
32 * @return IWriter
33 */
34 public function setIncludeCharts($pValue);
35
36 /**
37 * Get Pre-Calculate Formulas flag
38 * If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,
39 * so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet
40 * viewer when opening the file
41 * If false, then formulae are not calculated on save. This is faster for saving in PhpSpreadsheet, but slower
42 * when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself.
43 *
44 * @return bool
45 */
46 public function getPreCalculateFormulas();
47
48 /**
49 * Set Pre-Calculate Formulas
50 * Set to true (the default) to advise the Writer to calculate all formulae on save
51 * Set to false to prevent precalculation of formulae on save.
52 *
53 * @param bool $pValue Pre-Calculate Formulas?
54 *
55 * @return IWriter
56 */
57 public function setPreCalculateFormulas($pValue);
58
59 /**
60 * Save PhpSpreadsheet to file.
61 *
62 * @param string $pFilename Name of the file to save
63 *
64 * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
65 */
66 public function save($pFilename);
67
68 /**
69 * Get use disk caching where possible?
70 *
71 * @return bool
72 */
73 public function getUseDiskCaching();
74
75 /**
76 * Set use disk caching where possible?
77 *
78 * @param bool $pValue
79 * @param string $pDirectory Disk caching directory
80 *
81 * @throws Exception when directory does not exist
82 *
83 * @return IWriter
84 */
85 public function setUseDiskCaching($pValue, $pDirectory = null);
86
87 /**
88 * Get disk caching directory.
89 *
90 * @return string
91 */
92 public function getDiskCachingDirectory();
93 }
94