精华内容
下载资源
问答
  • unoconv

    千次阅读 2012-05-23 14:19:33
    之前unoconv有一些问题,今天大致解决了。 1。开机后,ubuntu下第一次转换没有问题,但以后转换中文就会出现乱码。 2。命令行中不能识别汉语文件名 3。txt格式的数据不能转换。 解决过程 1。将windows下的...
    之前unoconv有一些问题,今天大致解决了。
    1。开机后,ubuntu下第一次转换没有问题,但以后转换中文就会出现乱码。
    2。命令行中不能识别汉语文件名
    3。txt格式的数据不能转换。

    解决过程
    1。将windows下的字体全部拷贝到linux字体库中并使之生效。
    在/usr/share/fonts/下新建文件夹win并设置权限,将windows下的window-fonts下字体全部拷贝到其中。
    cd /usr/share/fonts/win
    sudo mkfontscale
    sudo mkfontdir
    sudo fc-cache -fv
    重启电脑搞定。
    2。将linux字体设置为中文 utf-8。
    vim /etc/environment

    在下面添加如下两行

    LANG=”zh_CN.UTF-8″ LANGUAGE=”zh_CN:zh:en_US:en”

    如果你想用英文环境了,改成这两行就OK

    LANG=”en_US.UTF-8″ LANGUAGE=”en_US:en”

    展开全文
  • Unoconv Support

    2020-12-27 14:36:52
    https://github.com/alchemy-fr/PHP-Unoconv https://github.com/dagwieers/unoconv http://dag.wiee.rs/home-made/unoconv/</p> <p>?</p><p>该提问来源于开源项目:FriendsOfCake/CakePdf</p></div>
  • unoconv not working

    2020-12-02 11:40:39
    unoconv: UnoException during conversion in : Unsupported URL file:///home/kern/my_rails_app/public/data/presentation_39/presentation_39.ppt: "" Traceback (most recent call last): File "/...
  • unoconv freezes randomly

    2020-12-02 05:07:44
    <p>thank you for this really useful tool which is unoconv. I am using it for several weeks and it already helped me to convert thousand of documents. <p>However, sometimes conversions freeze randomly....
  • Using Unoconv in Lambda

    2020-12-01 11:23:51
    <div><p>Can it be done self-contained (not using remote LibreOffice instance) given the Lambda archive limit of roughly 260MB unzipped?</p><p>该提问来源于开源项目:unoconv/unoconv</p></div>
  • <div><p>The unoconv version that installs from <code>apt-get</code> is <code>0.7</code> and the latest version is <code>0.8.2</code>. The output from <code>apt-cache search unoconv</code> is : <pre>...
  • You can help Unoconv!

    2020-11-30 08:03:48
    Unoconv is looking for help on all levels. We need every kind of person: <ul><li>Those that can help answering questions and issues.</li><li>Python programmers that can help fix bugs and add features....
  • unoconv A New File Name

    2020-12-01 11:17:59
    <div><p>Hi, <p>I am converting PPT -> JPG (Just the first slide)using following command: <p>/usr/bin/unoconv -f jpg -o /home/ubuntu/files/1.jpg -e PageRange=...unoconv/unoconv</p></div>
  • unoconv 备忘

    2012-09-12 11:08:18
    unoconv -v -o ~/work/abc/ -f txt ~/work/def/*.doc unoconv -v -o dst_dir -f txt src_dir/*.doc 把源目录中所有的某个扩展名的文件转为目的目录中的目标文件。

    unoconv -v -o ~/work/abc/ -f txt ~/work/def/*.doc


    unoconv -v -o dst_dir -f txt src_dir/*.doc


    把源目录中所有的某个扩展名的文件转为目的目录中的目标文件。




    展开全文
  • <div><p>i installed libreoffice5.0 and unoconv0.7 on ec2 amazon linux ami then i cannot run unoconv --listener with error <p>Launch of /opt/libreoffice5.0/program/soffice.bin failed. loading ...
  • We have migrated to a new server running on CentOS and we are having issues with UNOCONV not rendering previews of office files. <pre><code> /usr/bin/unoconv --format=pdf '/mnt/...
  • unoconv-0.5-1.el6.rf.noarch.rpm,unoconv命令插件,Linux,把文件pdf、work、jpg等格式互相转换 安装方法: yum -y install libreoffice* yum -y install unoconv-0.5-1.el6.rf.noarch.rpm
  • <div><p>unoconv don't convert anymore: $ unoconv -f pdf index.html<br /> unoconv: UnoException during conversion in : ERROR: The provided document cannot be converted to the desired format. (code...
  • unoconv命令word转PDF

    千次阅读 2019-07-04 15:42:56
    unoconv下载 使用前提是安装ApacheOpenOffice并运行 下载unoconv-0.8.tar.gz 解压 执行unoconv -f pdf /home//xx.docx 会在/home下面生成xx.pdf文件

    unoconv下载
    使用前提是安装ApacheOpenOffice并运行
    下载unoconv-0.8.tar.gz
    解压
    执行unoconv -f pdf /home/xx.docx
    会在/home下面生成xx.pdf文件

    错误

    [root@localhost unoconv-0.8]# ./unoconv -f pdf /home/test.docx
    Error: Unable to connect or start own listener. Aborting.
    

    再执行一次就能行,很奇怪

    展开全文
  • Linux unoconv unoconv 转换 doc,docx,xls,xlsx,ppt,pptx 文件 安装unoconv yum install unoconv doc转换成pdf /usr/bin/unoconv -f pdf /home/1.doc doc转换成txt /usr/bin/unoconv -f txt /home/1.doc ...

    Linux unoconv

    unoconv 转换 doc,docx,xls,xlsx,ppt,pptx 文件

    安装unoconv

    yum install unoconv
    

    doc转换成pdf

    /usr/bin/unoconv -f pdf /home/1.doc
    

    doc转换成txt

    /usr/bin/unoconv -f txt /home/1.doc
    

    docx转换成txt

    /usr/bin/unoconv -f txt /home/1.docx
    

    php中使用需要另外安装unoconv

    下载地址:https://github.com/unoconv/unoconv

    解压并安装

    unzip unoconv-master.zip
    cd unoconv-master/
    make install
    

    执行完以上操作后接下来可以执行转换命令了,例如

    /usr/bin/unoconv -f txt	/www/1.docx 
    

    得到 /www/1.txt

    如果中文乱码可以用以下方式解决
    将Windows下的Fonts,如:C:\Windows\Fonts,压缩成Fonts.zip压缩包。
    将压缩包拷贝到Linux目录下,执行以下命令便可:

    unzip Fonts.zip
    mkdir /usr/share/fonts/win
    cp Fonts/* /usr/share/fonts/win
    cd /usr/share/fonts/win
    chmod  -Rf 755 *
    mkfontscale  
    mkfontdir  
    fc-cache –fv
    

    重启服务器便可。

    php中使用

    shell_exec('/usr/bin/unoconv -f txt /www/1.docx - 2>&1');
    

    得到 /www/1.txt

    	$filename='/www/1.txt';
        $handle = fopen($filename, "r");//读取文件
        //通过filesize获得文件大小,将整个文件一下子读到一个字符串中
        $contents = fread($handle, filesize ($filename));//获取到了内容
        fclose($handle);//关闭文件
        unlink($filename);//删除/www/1.txt
     
    
    展开全文
  • Random seg.faults in unoconv

    2020-12-08 18:25:55
    <div><p>Dear Dag, <p>I debugged the "random seg. fault" problem which occured for me on Debian squeeze with openoffice (and libreoffice) after every execution of ...unoconv/unoconv</p></div>
  • unoconv 中文乱码

    2017-07-22 04:16:51
    unoconv 是一款跨平台的工具,用于转换文档格式 Universal Office Converter - Convert between any document format supported by LibreOffice/OpenOffice. 命令支持 要查看系统中已经安装的字体,我们可以使用fc-...
  • <div><p>Hello, <p>yum install libreoffice* git clone https://github.com/dagwieers/unoconv make install unoconv --help unoconv: Cannot find a suitable office installation on ...unoconv/unoconv</p></div>
  • <div><p>unoconv: Cannot find a suitable office installation on your system. ERROR: Please locate your office installation and send your feedback to: http://github.com/dagwieers/unoconv/issues</p><p>该...
  • <div><p>I want to use multi-worker to improve unoconv performance,but i don't know if it's safe to do this.</p><p>该提问来源于开源项目:unoconv/unoconv</p></div>
  • When I run the “test unoconv path” test in the admin panel it says that, “The unoconv path appears to be properly configured.” But when I click to download the test document it says, “Failed to ...
  • 某业务需要将mime非application/msword的文件转成doc格式,在网上查询了一下,unoconv可以,安装好后,通过web的url访问后发现居然报错。 PHP代码 $cmd = "unoconv --connection \"socket,host=127.0.0.1,port=8100;...
  • Linux-CentOS 安装Unoconv

    千次阅读 热门讨论 2015-10-26 20:27:18
    为了方便文件传递,就需要在各种格式之间进行转换。LibOffice可以方便的打开多文档格式并按需进行转换,但要一次处理...用unoconv就可以轻松地实现利用LibOffice可以打开的文档的转换. 【1】安装libreoffice ...
  • <div><p>on my machine unoconv needs everytime 2 times to connect to libreoffice. first time it says: Error: Unable to connect or start own listener. Aborting. on second time it is working. i havo no ...
  • <div><p>When I try to convert anything to swf I get this god awful error message: <p>unoconv: UnoException during export phase: Unable to store document to file:///buildblob/...unoconv/unoconv</p></div>
  • and run the latest version (GitHub master branch) of unoconv: <p>./unoconv dyld: Library not loaded: /usr/local/libodep/lib/libintl.8.dylib Referenced from: /Applications/LibreOffice.app/Contents/...
  • <p>I have a problem using unoconv with libreoffice, in .xls/.xlsx conversion. <p>Every documents in landscape are convert in pdf in portrait mode. <p>It s a real pb for me cause i really can t show an...
  • I use unoconv to convert documents uploaded in a web application. I find it very convenient because unoconv does a lot of hard to do configuration stuff. (see ...
  • <div><p>I know this is silly, but I did download the latest version 0.6 from your github. My OS is Centos 6 x86_64, python 2.6 from Base repository. Whenever I run "...unoconv/unoconv</p></div>

空空如也

空空如也

1 2 3 4 5 ... 18
收藏数 342
精华内容 136
热门标签
关键字:

unoconv