/** * @param null $source */ public function import($source = NULL) { $auto_styles_ret = parent::importFromODT($this->automatic, 'office:automatic-styles'); $styles_ret = parent::importFromODTFile(DOKU_INC . 'lib/plugins/odt/styles.xml', 'office:styles'); if (!$auto_styles_ret || !$styles_ret) { return false; } return true; }