odt增加文件名

This commit is contained in:
wlx 2011-11-04 10:11:53 +00:00
parent 21590fc4d8
commit ce4047864f
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ class ServiceController extends Zend_Controller_Action
@$odf->setVars('east',$row['east'],true,'utf-8');
$odf->setImage('bigthumb', 'http://test.westgis.ac.cn/service/bigthumb/uuid/'.$row['uuid']);
$odf->setImage('thumb', 'http://test.westgis.ac.cn/service/thumb/uuid/'.$row['uuid']);
$odf->exportAsAttachedFile();
$odf->exportAsAttachedFile($row['title'].'.odt');
}
}