gnu-social/vendor/zetacomponents/document/tests/odt/test_classes/styler.php

24 lines
480 B
PHP
Raw Normal View History

2020-08-08 07:42:38 +09:00
<?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
);
}
}
?>