Questions tagged [unoconv]

Universal Office Converter - Convert between any document format supported by LibreOffice/OpenOffice.

Universal Office Converter (unoconv) is a command line tool to convert any document format that LibreOffice can import to any document format that LibreOffice can export. It makes use of the LibreOffice’s UNO bindings for non-interactive conversion of documents.

57 questions
0
votes
1 answer

speed up unoconv conversion process

I am converting xlsx file to csv using unoconv in unix. I find it very slow if file is above 20mb. It takes more than 10mins to convert. Is there a way to speed it up. command I use is this. unoconv -f csv testfile.xlsx
user2058738
  • 349
  • 1
  • 6
  • 15
0
votes
1 answer

Unoconv - Maintain scaling converting xlsx to pdf

I'm using unoconv to convert an Excel file to PDF. The converted PDF retains the correct scaling when converting from an .xls file, however the PDF scaling reverts to 100% when converting from an .xlsx file. In other words, unoconv converts the…
Craig Kahn
  • 11
  • 3
0
votes
0 answers

PPT changing color while converting with Unoconv

I am converting PPT to PDF using Unoconv on my Ubuntu 14.04 server. Most of the files are being converted correctly, except few files. After conversion, the color of the slide becomes very bright. When I open the PPTx in "Microsoft Office…
Gaurav
  • 1,214
  • 2
  • 17
  • 32
0
votes
1 answer

Django Python OSError No such file or directory but file exists

I'm converting doc and docx files to pdf in the server using unoconv with LibreOffice. And I need to upload to S3 the converted file. I can convert with success the files and I can see them in the server. But when I try to upload the pdf, I get the…
Ronaldo Bahia
  • 576
  • 3
  • 24
0
votes
1 answer

Unoconv LibreOffice Pdf Preview is generating a blank pdf

I am using below configuration Ubuntu 16.04 LibreOffice 5.1.6.2 Unoconv 0.7 I am trying to generate preview of a pdf file using below command sudo unoconv -e PageRange=1-3 -f pdf --output abc-preview.pdf Numberic.pdf I have also try to install…
Aabir Hussain
  • 1,161
  • 1
  • 11
  • 29
0
votes
0 answers

PHP ghost script still contain color in detect ink coverage -o - -sDEVICE=inkcov E:/myfile.pdf but the myfile.pdf always have black font

I successfully converted a .doc to pdf using this command: $result = exec('"C:\Program Files (x86)\OpenOffice 4\program\python.exe" D:\wamp\www\doc_to_pdf\libobasis4.4-pyuno\unoconv -f pdf…
enda
  • 30
  • 6
0
votes
2 answers

LibreOffice Stopped working , while converting XLS to XHTML files using C# application

In this, my queries are, How to handle LibreOffice Exceptions in C#. If could not handle , how to pro-grammatically close this exception or to suppress this exception popup, while excuting console OR any better solution, that my conversion…
Raghu
  • 136
  • 2
  • 12
0
votes
3 answers

unoconv return error when running as www-data

When running this from command line as root it works unoconv -f csv $file But when running it as www-data this error is returned Traceback (most recent call last): File "/usr/bin/unoconv", line 1114, in office_environ(of) File…
clarkk
  • 27,151
  • 72
  • 200
  • 340
0
votes
0 answers

Failed to convert doc to pdf using libreoffice5 in php

I got a problem when converting doc to pdf using libreoffice5 in php. I wrote a Linux shell to convert a office doc document to pdf (t.sh): #!/bin/sh libreoffice5.0 --headless --invisible --convert-to pdf --outdir $1 $2 Then I created a php file in…
mjstudio
  • 1
  • 1
0
votes
1 answer

unoconv: raise Exception(stderrdata)

I'm running a Tryton 3.4 (tryton.org) instance and trying to generate a report. This task is requires unoconv (which I have installed v.0.6) and libreoffice (also installed and recently updated). Even so, when I try to generate the report (that…
ceciliasp
  • 23
  • 4
-1
votes
1 answer

why ghost script in detect total ink coverage the result was same value CMYK?(PHP)

I was trying to convert .doc files to pdf files the reference at Convert Word doc, docx and Excel xls, xlsx to PDF with PHP, and successfull to convert to pdf,,, when i detect total ink coverage with ghost script the result fil value for CMYK in…
enda
  • 30
  • 6
-1
votes
1 answer

Unoconv not creating pdf file in php script

When I run this phpscript in my mac xampp it return successful but not pdf file is generated. But when I run from mac terminal it able to create the pdf file from the docx file.
user3711175
  • 109
  • 2
  • 16
1 2 3
4