| 1 |
<?php |
| 2 |
|
| 3 |
namespace TablePress\PhpOffice\PhpSpreadsheet\Worksheet; |
| 4 |
|
| 5 |
class Pane |
| 6 |
{ |
| 7 |
private string $sqref; |
| 8 |
|
| 9 |
private string $activeCell; |
| 10 |
|
| 11 |
private string $position; |
| 12 |
|
| 13 |
public function __construct(string $position, string $sqref = '', string $activeCell = '') |
| 14 |
{ |
| 15 |
$this->sqref = $sqref; |
| 16 |
$this->activeCell = $activeCell; |
| 17 |
$this->position = $position; |
| 18 |
} |
| 19 |
|
| 20 |
public function getPosition(): string |
| 21 |
{ |
| 22 |
return $this->position; |
| 23 |
} |
| 24 |
|
| 25 |
public function getSqref(): string |
| 26 |
{ |
| 27 |
return $this->sqref; |
| 28 |
} |
| 29 |
|
| 30 |
public function setSqref(string $sqref): self |
| 31 |
{ |
| 32 |
$this->sqref = $sqref; |
| 33 |
|
| 34 |
return $this; |
| 35 |
} |
| 36 |
|
| 37 |
public function getActiveCell(): string |
| 38 |
{ |
| 39 |
return $this->activeCell; |
| 40 |
} |
| 41 |
|
| 42 |
public function setActiveCell(string $activeCell): self |
| 43 |
{ |
| 44 |
$this->activeCell = $activeCell; |
| 45 |
|
| 46 |
return $this; |
| 47 |
} |
| 48 |
} |
| 49 |
|