PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
tablepress / libraries / vendor / PhpSpreadsheet / Cell / IgnoredErrors.php

IgnoredErrors.php in TablePress – Tables in WordPress made easy 3.4, at libraries/vendor/PhpSpreadsheet/Cell/IgnoredErrors.php

91 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace TablePress\PhpOffice\PhpSpreadsheet\Cell;
4
5 class IgnoredErrors
6 {
7 private bool $numberStoredAsText = false;
8
9 private bool $formula = false;
10
11 private bool $formulaRange = false;
12
13 private bool $twoDigitTextYear = false;
14
15 private bool $evalError = false;
16
17 private bool $misleadingFormat = false;
18
19 public function setNumberStoredAsText(bool $value): self
20 {
21 $this->numberStoredAsText = $value;
22
23 return $this;
24 }
25
26 public function getNumberStoredAsText(): bool
27 {
28 return $this->numberStoredAsText;
29 }
30
31 public function setFormula(bool $value): self
32 {
33 $this->formula = $value;
34
35 return $this;
36 }
37
38 public function getFormula(): bool
39 {
40 return $this->formula;
41 }
42
43 public function setFormulaRange(bool $value): self
44 {
45 $this->formulaRange = $value;
46
47 return $this;
48 }
49
50 public function getFormulaRange(): bool
51 {
52 return $this->formulaRange;
53 }
54
55 public function setTwoDigitTextYear(bool $value): self
56 {
57 $this->twoDigitTextYear = $value;
58
59 return $this;
60 }
61
62 public function getTwoDigitTextYear(): bool
63 {
64 return $this->twoDigitTextYear;
65 }
66
67 public function setEvalError(bool $value): self
68 {
69 $this->evalError = $value;
70
71 return $this;
72 }
73
74 public function getEvalError(): bool
75 {
76 return $this->evalError;
77 }
78
79 public function setMisleadingFormat(bool $value): self
80 {
81 $this->misleadingFormat = $value;
82
83 return $this;
84 }
85
86 public function getMisleadingFormat(): bool
87 {
88 return $this->misleadingFormat;
89 }
90 }
91