mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-28 20:18:41 +00:00
85 lines
1.5 KiB
PHP
Executable File
85 lines
1.5 KiB
PHP
Executable File
<?php
|
|
|
|
namespace PhpOffice\PhpPresentation\Writer;
|
|
|
|
use PhpOffice\Common\Adapter\Zip\ZipInterface;
|
|
use PhpOffice\PhpPresentation\HashTable;
|
|
use PhpOffice\PhpPresentation\PhpPresentation;
|
|
|
|
abstract class AbstractDecoratorWriter
|
|
{
|
|
/**
|
|
* @return ZipInterface
|
|
*/
|
|
abstract public function render();
|
|
|
|
/**
|
|
* @var \PhpOffice\PhpPresentation\HashTable
|
|
*/
|
|
protected $oHashTable;
|
|
|
|
/**
|
|
* @var PhpPresentation
|
|
*/
|
|
protected $oPresentation;
|
|
|
|
/**
|
|
* @var ZipInterface
|
|
*/
|
|
protected $oZip;
|
|
|
|
/**
|
|
* @param HashTable $hashTable
|
|
* @return $this
|
|
*/
|
|
public function setDrawingHashTable(HashTable $hashTable)
|
|
{
|
|
$this->oHashTable = $hashTable;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return HashTable
|
|
*/
|
|
public function getDrawingHashTable()
|
|
{
|
|
return $this->oHashTable;
|
|
}
|
|
|
|
/**
|
|
* @param PhpPresentation $oPresentation
|
|
* @return $this
|
|
*/
|
|
public function setPresentation(PhpPresentation $oPresentation)
|
|
{
|
|
$this->oPresentation = $oPresentation;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return PhpPresentation
|
|
*/
|
|
public function getPresentation()
|
|
{
|
|
return $this->oPresentation;
|
|
}
|
|
|
|
/**
|
|
* @param ZipInterface $oZip
|
|
* @return $this
|
|
*/
|
|
public function setZip(ZipInterface $oZip)
|
|
{
|
|
$this->oZip = $oZip;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @return ZipInterface
|
|
*/
|
|
public function getZip()
|
|
{
|
|
return $this->oZip;
|
|
}
|
|
}
|