Chinaunix
标题:
在centos里如何调用openoffice在后台(命令下)将doc转换成pdf?
[打印本页]
作者:
clifftree
时间:
2012-02-10 14:23
标题:
在centos里如何调用openoffice在后台(命令下)将doc转换成pdf?
我的系统是centos 5.4
我用“yum -y install openoffice.org-langpack-zh_CN” 把openoffice已经装好了,听同事说还需要一个什么插件?请问这个问题如何实现?能详细一些小弟将不胜感激!
作者:
yangkyo821
时间:
2012-02-10 14:48
man libreoffice,呵呵我没有安装openoffice,不过应该有差不多的参数
-convert-to output_file_extension[:output_filter_name] [-outdir output_dir]
file...
Batch converts files. If -outdir is not specified then the current
working directory is used as the output directory for the converted
files.
Examples:
-convert-to pdf *.doc
Converts all .doc files to PDFs.
-convert-to pdf:writer_pdf_Export -outdir /home/user *.doc
Converts all .doc files to PDFs using the settings in the Writer PDF
export dialog and saving them in /home/user.
复制代码
作者:
dooros
时间:
2012-02-10 15:22
貌似不需要另外安装吧,安装openoffice的时候就安装好了
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2