Lines Matching refs:root_element
75 public function importFromODTFile($sourceFile, $root_element, $overwrite=false) { argument
76 if (empty($sourceFile) || empty($root_element)) {
86 return $this->importFromODT($styles_xml_content, $root_element, $overwrite);
89 public function importFromODT($styles_xml_content, $root_element, $overwrite=false) { argument
90 if (empty($styles_xml_content) || empty($root_element)) {
95 switch ($root_element) {
99 … $style_elements = XMLUtil::getElementContent($root_element, $styles_xml_content, $end);
119 switch ($root_element) {
138 public function exportToODT($root_element) { argument
140 switch ($root_element) {
152 $office_styles = "<".$root_element.">\n";
156 $office_styles .= "</".$root_element.">\n";