/** * Return a copy of this frame with $node as its node * * @param DomNode $node * @return Frame */ function copy(DomNode $node) { $frame = new Frame($node); $frame->set_style(clone $this->_frame->get_original_style()); $deco = Frame_Factory::decorate_frame($frame, $this->_dompdf); $deco->set_root($this->_root); return $deco; }
function get_original_style() { return $this->_frame->get_original_style(); }