| 1 |
<?php |
| 2 |
|
| 3 |
namespace TablePress\PhpOffice\PhpSpreadsheet\Chart; |
| 4 |
|
| 5 |
class DataTable |
| 6 |
{ |
| 7 |
private bool $showHorizontalBorder = true; |
| 8 |
|
| 9 |
private bool $showVerticalBorder = true; |
| 10 |
|
| 11 |
private bool $showOutline = true; |
| 12 |
|
| 13 |
private bool $showKeys = true; |
| 14 |
|
| 15 |
public function getShowHorizontalBorder(): bool |
| 16 |
{ |
| 17 |
return $this->showHorizontalBorder; |
| 18 |
} |
| 19 |
|
| 20 |
public function getShowVerticalBorder(): bool |
| 21 |
{ |
| 22 |
return $this->showVerticalBorder; |
| 23 |
} |
| 24 |
|
| 25 |
public function getShowOutline(): bool |
| 26 |
{ |
| 27 |
return $this->showOutline; |
| 28 |
} |
| 29 |
|
| 30 |
public function getShowKeys(): bool |
| 31 |
{ |
| 32 |
return $this->showKeys; |
| 33 |
} |
| 34 |
|
| 35 |
public function setShowHorizontalBorder(bool $showHorizontalBorder): self |
| 36 |
{ |
| 37 |
$this->showHorizontalBorder = $showHorizontalBorder; |
| 38 |
|
| 39 |
return $this; |
| 40 |
} |
| 41 |
|
| 42 |
public function setShowVerticalBorder(bool $showVerticalBorder): self |
| 43 |
{ |
| 44 |
$this->showVerticalBorder = $showVerticalBorder; |
| 45 |
|
| 46 |
return $this; |
| 47 |
} |
| 48 |
|
| 49 |
public function setShowOutline(bool $showOutline): self |
| 50 |
{ |
| 51 |
$this->showOutline = $showOutline; |
| 52 |
|
| 53 |
return $this; |
| 54 |
} |
| 55 |
|
| 56 |
public function setShowKeys(bool $showKeys): self |
| 57 |
{ |
| 58 |
$this->showKeys = $showKeys; |
| 59 |
|
| 60 |
return $this; |
| 61 |
} |
| 62 |
} |
| 63 |
|