22
33namespace PhpOffice \PhpSpreadsheet \Writer ;
44
5- use PhpOffice \PhpSpreadsheet \Exception as PhpSpreadsheetException ;
6-
75abstract class BaseWriter implements IWriter
86{
97 /**
@@ -19,18 +17,6 @@ abstract class BaseWriter implements IWriter
1917 */
2018 protected bool $ preCalculateFormulas = true ;
2119
22- /**
23- * Table formats
24- * Enables table formats in writer, disabled here, must be enabled in writer via a setter.
25- */
26- protected bool $ tableFormats = false ;
27-
28- /**
29- * Conditional Formatting
30- * Enables conditional formatting in writer, disabled here, must be enabled in writer via a setter.
31- */
32- protected bool $ conditionalFormatting = false ;
33-
3420 /**
3521 * Use disk caching where possible?
3622 */
@@ -72,34 +58,6 @@ public function setPreCalculateFormulas(bool $precalculateFormulas): self
7258 return $ this ;
7359 }
7460
75- public function getTableFormats (): bool
76- {
77- return $ this ->tableFormats ;
78- }
79-
80- public function setTableFormats (bool $ tableFormats ): self
81- {
82- if ($ tableFormats ) {
83- throw new PhpSpreadsheetException ('Table formatting not implemented for this writer ' );
84- }
85-
86- return $ this ;
87- }
88-
89- public function getConditionalFormatting (): bool
90- {
91- return $ this ->conditionalFormatting ;
92- }
93-
94- public function setConditionalFormatting (bool $ conditionalFormatting ): self
95- {
96- if ($ conditionalFormatting ) {
97- throw new PhpSpreadsheetException ('Conditional Formatting not implemented for this writer ' );
98- }
99-
100- return $ this ;
101- }
102-
10361 public function getUseDiskCaching (): bool
10462 {
10563 return $ this ->useDiskCaching ;
0 commit comments