libreoffice

Command `libreoffice --headless --convert-to pdf test.docx --outdir /pdf` is not working

前提是你 提交于 2019-11-28 03:23:05
I have to wait for long after using this LibreOffice command which is intended to convert DOCX into PDF: libreoffice --headless --convert-to pdf test.docx --outdir /pdf But I'm getting no response and no error. No file is converted. It looks like terminal is hanging. So, is there is any way to track the error? I would first of all try it with giving absolute paths to the command. I suspect that the libreoffice binary does not work -- you have to locate the soffice binary and see if that works. Then, your --convert-to pdf is not sufficient. It needs to be: --convert-to pdf:writer_pdf_Export Be

Running libreoffice from php exec()

喜欢而已 提交于 2019-11-27 17:57:53
问题 I have installed libreoffice headless on a freebsd-server with apache in order to convert documents programmatically (e.g. odt->pdf). It works from the command line! But my goal is to be able to do it from php. This demands that the web-user (www) can run libreoffice. But it cannot. When running libreoffice as my own user, I get: %libreoffice --headless -convert-to pdf Litteraturundervisningogit.doc javaPathHelper: not found #This should not be a problem, says people on the net. convert /usr

The ant/ folder is suddenly missing from Android SDK. Did Google remove it?

不打扰是莪最后的温柔 提交于 2019-11-27 04:13:28
I've tried compiling libreoffice core project (choosing Android module) (with make , no Gradle involved yet), and I'm getting this error: /home/aleksandar/libreoffice/workdir/UnpackedTarball/owncloud_android_lib/build.xml:90: Cannot find /home/aleksandar/Android/Sdk/tools/ant/build.xml imported from /home/aleksandar/libreoffice/workdir/UnpackedTarball/owncloud_android_lib/build.xml When looking through my SDK, I realized that /Sdk/tools/ant folder doesn't even exist. Is this the way that it should be? I'm not sure why it causes that error now, especially that I've built the project many times

OpenOffice command line PDF creation

感情迁移 提交于 2019-11-27 01:27:10
问题 I have some documentation written in OpenOffice, and I would like to include some of it as PDF files in the final build deliveries. I would like to do this with the automated build script. Is there a way to create a PDF file from OpenOffice with a command line command? 回答1: Art of Solving has also a very good API to perform the conversion in Java. It is a little slow but it is simple enough. This is how I use it: File inputFile = new File("C:\\oreyes\\hola.doc"); File outputFile = new File("C

Command `libreoffice --headless --convert-to pdf test.docx --outdir /pdf` is not working

。_饼干妹妹 提交于 2019-11-26 23:58:01
问题 I have to wait for long after using this LibreOffice command which is intended to convert DOCX into PDF: libreoffice --headless --convert-to pdf test.docx --outdir /pdf But I'm getting no response and no error. No file is converted. It looks like terminal is hanging. So, is there is any way to track the error? 回答1: I would first of all try it with giving absolute paths to the command. I suspect that the libreoffice binary does not work -- you have to locate the soffice binary and see if that

Excel VLOOKUP where the key is not in the first column

允我心安 提交于 2019-11-26 23:30:58
问题 "The range where the lookup value is located. Remember that the lookup value should always be in the first column in the range for VLOOKUP to work correctly. For example, if your lookup value is in cell C2 then your range should start with C." But sometimes I want to be able to do dual-direction lookups. Ie, lookup using a key in column A to get the value in column B AND at the same time, in other formulas, lookup the value in B to get the value in A. The only way I know is to add a column C

The ant/ folder is suddenly missing from Android SDK. Did Google remove it?

喜夏-厌秋 提交于 2019-11-26 11:01:35
问题 I\'ve tried compiling libreoffice core project (choosing Android module) (with make , no Gradle involved yet), and I\'m getting this error: /home/aleksandar/libreoffice/workdir/UnpackedTarball/owncloud_android_lib/build.xml:90: Cannot find /home/aleksandar/Android/Sdk/tools/ant/build.xml imported from /home/aleksandar/libreoffice/workdir/UnpackedTarball/owncloud_android_lib/build.xml When looking through my SDK, I realized that /Sdk/tools/ant folder doesn\'t even exist. Is this the way that