Ejemplo n.º 1
0
 /**
  * Completes the ODT file
  */
 public function finalize_ODTfile()
 {
     // Delete paragraphs which only contain whitespace (but keep pagebreaks!)
     $this->deleteUselessElements();
     // Build the document
     $this->docHandler->build($this->doc, $this->_odtAutoStyles(), $this->styles, $this->meta->getContent(), $this->_odtUserFields(), $this->styleset, $this->page_styles);
     // Assign document
     $this->doc = $this->docHandler->get();
 }