Lines Matching refs:tempDir
869 … static public function importODTStyles(ODTInternalParams $params, $template=NULL, $tempDir=NULL){ argument
870 if (!isset($template) || !isset($tempDir)) {
875 if (is_dir($tempDir)) { io_rmdir($tempDir,true); }
876 io_mkdir_p($tempDir);
882 $ZIPextract->extract($tempDir);
885 throw new Exception(' Error extracting the zip archive:'.$template.' to '.$tempDir);
889 … $params->styleset->importFromODTFile($tempDir.'/content.xml', 'office:automatic-styles', true);
890 … $params->styleset->importFromODTFile($tempDir.'/styles.xml', 'office:automatic-styles', true);
891 $params->styleset->importFromODTFile($tempDir.'/styles.xml', 'office:styles', true);
892 $params->styleset->importFromODTFile($tempDir.'/styles.xml', 'office:master-styles', true);
895 io_rmdir($tempDir,true);