Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
<?php
2
 
3
namespace PhpOffice\PhpSpreadsheet\Cell;
4
 
5
class IgnoredErrors
6
{
7
    private bool $numberStoredAsText = false;
8
 
9
    private bool $formula = false;
10
 
11
    private bool $twoDigitTextYear = false;
12
 
13
    private bool $evalError = false;
14
 
15
    public function setNumberStoredAsText(bool $value): self
16
    {
17
        $this->numberStoredAsText = $value;
18
 
19
        return $this;
20
    }
21
 
22
    public function getNumberStoredAsText(): bool
23
    {
24
        return $this->numberStoredAsText;
25
    }
26
 
27
    public function setFormula(bool $value): self
28
    {
29
        $this->formula = $value;
30
 
31
        return $this;
32
    }
33
 
34
    public function getFormula(): bool
35
    {
36
        return $this->formula;
37
    }
38
 
39
    public function setTwoDigitTextYear(bool $value): self
40
    {
41
        $this->twoDigitTextYear = $value;
42
 
43
        return $this;
44
    }
45
 
46
    public function getTwoDigitTextYear(): bool
47
    {
48
        return $this->twoDigitTextYear;
49
    }
50
 
51
    public function setEvalError(bool $value): self
52
    {
53
        $this->evalError = $value;
54
 
55
        return $this;
56
    }
57
 
58
    public function getEvalError(): bool
59
    {
60
        return $this->evalError;
61
    }
62
}