Questions tagged [soffice]

38 questions
0
votes
1 answer

How can i convert a .xlsx (with an image on header) to PDF on Unix?

I have a .xlsx file with an image on header. When i try to convert to PDF via terminal using libreoffice it converts but the image doesn't appear on the generated PDF. Here is a screenshot of the main .xlsx file on Excel (print mode): And the…
K_dev
  • 337
  • 2
  • 9
0
votes
0 answers

Soffice convert-to pdf with comments

I use the command soffice --headless --convert-to pdf:writer_pdf_Export myfile to convert an .odt document to a pdf file, directly in a php file. In my document I have inserted comments, and after the convertion this comments doesn't appeared. I…
WoAiNi
  • 3
  • 1
0
votes
2 answers

Python subprocess behaves different when called from Django vs unit test

My first time posting - please go easy on me. I could not come up with a succinct title that summarizes this issue. I seem to have a codec problem. My django-based website calls a subprocess (soffice) to convert uploaded documents to basic text…
Dan
  • 5
  • 3
0
votes
1 answer

Parameter "--outdir" is not recognised via pythons subprocess.call but does work in terminal

I would like to write a python script to automate the conversion of libreoffice ott templates to normal odt files. if I go to the terminal (bash shell) and I type: soffice --headless --convert-to odt "/path/template.ott" --outdir…
Tom
  • 3
  • 3
0
votes
1 answer

soffice command: conversion from html to odt produces no desidered output

I try to convert an html file obtained from a Java transformation program. LibreOffice displays correctly this file if I open it from File/Open menu and I choose HTML from type of file. In this case I display the web page rendered from LibreOffice…
Milioli Luca
  • 309
  • 1
  • 8
  • 20
0
votes
1 answer

soffice socket is not opening via commandline

I wana use the pyoo.py package to control libreOffice via Python. There are good tutorials available. First step is to open a socket with following command. soffice --nologo --norestore --nodefault…
Peter
  • 1,629
  • 2
  • 25
  • 45
0
votes
1 answer

Convert docx to mediawiki and preserve [[Image:]]

Currently, I'm trying to move a docx to a mediawiki file and preserve the proper filenames in the [[Image:]] tags. For some reason, the proper image file gets swallowed (ie, normally it'd be media/image4.jpg, but instead it's just empty). I've tried…
Seiyria
  • 2,112
  • 3
  • 25
  • 51
0
votes
0 answers

soffice command don't work libreoffice4

When i had libreoffice3 it worked well , but when i unistall this version with this commande sudo apt-get remove libreoffice-core sudo apt-get remove --purge libreoffice-cor And i download LibreOffice_4.3.0_Linux_x86-64_deb.tar.gz And installed…
lomed
  • 51
  • 7
1 2
3