gnu-social/vendor/zetacomponents/document/tests/odt/test_classes/styler.php
2021-07-16 19:44:40 +01:00

24 lines
480 B
PHP

<?php
class ezcDocumentOdtTestStyler implements ezcDocumentOdtStyler
{
public $odtDocument;
public $seenElements = array();
public function init( DOMDocument $odtDocument )
{
$this->odtDocument = $odtDocument;
}
public function applyStyles( ezcDocumentLocateable $docBookElement, DOMElement $odtElement )
{
$this->seenElements[] = array(
$docBookElement->tagName,
$odtElement->tagName
);
}
}
?>