PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.4.11
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.4.11
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
← All changes | vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/BaseWriter.php +0 -55 3.1.33.4.11 View file →
@@ -34,29 +34,13 @@
34 34 * @var string
35 35 */
36 36 private $diskCachingDirectory = './';
37 37
38 - /**
39 - * Write charts in workbook?
40 - * If this is true, then the Writer will write definitions for any charts that exist in the PhpSpreadsheet object.
41 - * If false (the default) it will ignore any charts defined in the PhpSpreadsheet object.
42 - *
43 - * @return bool
44 - */
45 38 public function getIncludeCharts()
46 39 {
47 40 return $this->includeCharts;
48 41 }
49 42
50 - /**
51 - * Set write charts in workbook
52 - * Set to true, to advise the Writer to include any charts that exist in the PhpSpreadsheet object.
53 - * Set to false (the default) to ignore charts.
54 - *
55 - * @param bool $pValue
56 - *
57 - * @return IWriter
58 - */
59 43 public function setIncludeCharts($pValue)
60 44 {
61 45 $this->includeCharts = (bool) $pValue;
62 46
@@ -62,32 +46,13 @@
62 46
63 47 return $this;
64 48 }
65 49
66 - /**
67 - * Get Pre-Calculate Formulas flag
68 - * If this is true (the default), then the writer will recalculate all formulae in a workbook when saving,
69 - * so that the pre-calculated values are immediately available to MS Excel or other office spreadsheet
70 - * viewer when opening the file
71 - * If false, then formulae are not calculated on save. This is faster for saving in PhpSpreadsheet, but slower
72 - * when opening the resulting file in MS Excel, because Excel has to recalculate the formulae itself.
73 - *
74 - * @return bool
75 - */
76 50 public function getPreCalculateFormulas()
77 51 {
78 52 return $this->preCalculateFormulas;
79 53 }
80 54
81 - /**
82 - * Set Pre-Calculate Formulas
83 - * Set to true (the default) to advise the Writer to calculate all formulae on save
84 - * Set to false to prevent precalculation of formulae on save.
85 - *
86 - * @param bool $pValue Pre-Calculate Formulas?
87 - *
88 - * @return IWriter
89 - */
90 55 public function setPreCalculateFormulas($pValue)
91 56 {
92 57 $this->preCalculateFormulas = (bool) $pValue;
93 58
@@ -93,28 +58,13 @@
93 58
94 59 return $this;
95 60 }
96 61
97 - /**
98 - * Get use disk caching where possible?
99 - *
100 - * @return bool
101 - */
102 62 public function getUseDiskCaching()
103 63 {
104 64 return $this->useDiskCaching;
105 65 }
106 66
107 - /**
108 - * Set use disk caching where possible?
109 - *
110 - * @param bool $pValue
111 - * @param string $pDirectory Disk caching directory
112 - *
113 - * @throws Exception when directory does not exist
114 - *
115 - * @return IWriter
116 - */
117 67 public function setUseDiskCaching($pValue, $pDirectory = null)
118 68 {
119 69 $this->useDiskCaching = $pValue;
120 70
@@ -128,13 +78,8 @@
128 78
129 79 return $this;
130 80 }
131 81
132 - /**
133 - * Get disk caching directory.
134 - *
135 - * @return string
136 - */
137 82 public function getDiskCachingDirectory()
138 83 {
139 84 return $this->diskCachingDirectory;
140 85 }