libreoffice

Excel / LibreOffice Calc Partial Match in Reverse

僤鯓⒐⒋嵵緔 提交于 2019-12-08 05:16:16
问题 I would like to use a lookup table to choose a tag for each row according to its description column. Descriptions contain keywords that map to tags. Therefore, I need to partially match against the keyword list as below: A B C D E 1 Description Tag Keyword Tag 2 lorem KEYA ipsum KEYA Tag A 3 dolor sit KEYC amet KEYB Tag B 4 KEYB consectetur KEYC Tag C 5 adipiscing elit KEYA KEYD Tag D 6 sed do KEYB eiusmod I would like to fill cells in column B with values from the lookup table in D2:E5. I

Libreoffice : Referencing cells in another worksheet via FIND(), LOOKUP(), or EXACT()?

送分小仙女□ 提交于 2019-12-07 19:01:27
问题 I'm trying to learn LibreOffice's scripting capabilities, and have a specific scenario that I haven't been able to figure out. What I'm trying to do is get the value from another worksheet, by doing a search for a specific value in an adjacent cell. For example, lets say I have two worksheets: Worksheet1 And Worksheet2 What i'm trying to do, is populate each value in Worksheet1, Column B with the associated value from Worksheet2, Column B. The way I'm trying to do this is to write a statement

Sum minimum of corresponding column values

允我心安 提交于 2019-12-07 05:55:18
问题 I have two columns with numbers. I would like to calculate in a separate cell a sum. The sum will include the minimums of corresponding cells in these two columns. Example: A | B -------- [1] 1 | 2 [2] 4 | 3 [3] 0 | 1 [4] 5 | 5 I need a formula that would calculate in a cell the sum of 1 + 3 + 0 + 5 where * 1 is the MIN(A1,B1), * 3 is the MIN(A2,B2) * 0 is the MIN(A3,B3) * 5 is the MIN(A4,B4) Is that possible in a single formula (independent of #rows)? Working with LibreOffice Calc at the

ErrorCodeIOException convert files

巧了我就是萌 提交于 2019-12-06 14:47:41
问题 I am trying to implement Office an PDF conversion system based on LibreOffice 4.0 and always get the ErrorCodeIOException(tried the file formats doc,docx,txt), my stacktrace is as follows: com.sun.star.task.ErrorCodeIOException: at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177) at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143) at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335) at com.sun.star.lib.uno

Convert PDF to .docx with Python

吃可爱长大的小学妹 提交于 2019-12-06 09:39:36
I'm trying very hard to find the way to c onvert a PDF file to a .docx file with Python . I have seen other posts related with this, but none of them seem to work correctly in my case. I'm using specifically import os import subprocess for top, dirs, files in os.walk('/my/pdf/folder'): for filename in files: if filename.endswith('.pdf'): abspath = os.path.join(top, filename) subprocess.call('lowriter --invisible --convert-to doc "{}"' .format(abspath), shell=True) This gives me Output[1], but then, I can't find any .docx document in my folder. I have LibreOffice 5.3 installed. Any clues about

Installing pyuno (LibreOffice) for private Python build

 ̄綄美尐妖づ 提交于 2019-12-06 08:07:04
问题 There are a few related threads about this topic here ad here but they seem a bit dated. I just downloaded LibreOffice 4 which has a Python 3.3.0 built in. Using that Python I can import and use UNO just fine, and control Office from my Python script. However, many of my other modules are missing from that Python—and UNO is the only one missing from my Python. Is there any way that I can install pyuno for my local Python? The LibreOffice source tree includes a pyuno/ source tree, but I'm not

Libreoffice gives “Application Error” when called from R

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 22:51:04
问题 Inside a docker container I am trying to convert an XLSX file to PDF using LibreOffice. The relevant command works on the command line but fails with "Application Error" when called from R. I use this Dockerfile which adds some (in my experience arbitrary) XLSX file: FROM rocker/r-ver:3.4.3 RUN apt-get update \ && apt-get install --yes --no-install-recommends \ default-jre-headless libreoffice-calc \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && echo /usr/lib/libreoffice/program >

Libreoffice Draw Export Resolution makes no sense

做~自己de王妃 提交于 2019-12-05 22:13:11
I am attempting to make a very simple label using Libreoffice Draw v 4.0.2.2. The label has not much more to it than regularly spaced lines of centered text This image will be printed, and I have a fixed size/ppi requirement to ensure appropriate print quality. I set the page size to my specs, and layout the text as I desire. The print shop takes several image formats including .tiff and .png. When I export the image, a dialog pops up that asks for the image size/ resolution. The given ppi is very low (~40) and I require a minimum of 180ppi. When I enter this, the image size adjusts itself and

LibreOffice exe file to convert word to pdf in windows

半腔热情 提交于 2019-12-05 20:06:18
In Ubuntu terminal libreoffice --headless --convert-to pdf test.docx I convert document file to pdf file is work fine. *My doubt is in windows system without install libreoffice to need to convert docuemnt to pdf (i.e) without install libreoffice software only libreoffice exe or bat file convert word to pdf is possible? *Or In java code to execute command prompt to using microsoft office to convert word to pdf is possible? You can try with Libreoffice portable with the cli : LibreOfficePortable.exe -headless -convert-to pdf untitled.odt I haven't tested it, please let me know if it works on

Docker运行GUI软件的方法

送分小仙女□ 提交于 2019-12-05 02:41:10
简介: Docker通过namespace将容器与主机上的网络和运行环境进行了隔离,默认情况下,在容器中运行带界面的软件在外部是看不到的。在这个分享中,将介绍通过共享X11套接字让外部主机显示容器中运行的程序界面的方法。并讨论在『运行本地的GUI程序』和『运行远程服务器上的GUI程序』两种场景的下的实现原理。 下文是本次的分享整理: Docker比较常用的场景是『运行无界面的后台服务』或者『运行基于的Web服务』。不过有时出于个人的喜好或特定的需求,我们会希望在Docker中运行带图形界面的应用程序。 比如,在今年的『Docker全球开发者大会』上,Docker自家的美女程序员『杰西·弗莱泽尔(Jessie Frazelle)』展示了一系列黑魔法一样的镜像。这些镜像中的大多数都使用了图形界面。 DaoCloud的孙宏亮在现场通过博客直播了 她的演讲 。看到这张照片很多人应该已经认出她了。 Jessie在 自己的博客 里介绍这些镜像时说,她十分欣赏苹果的Mac电脑中每个应用程序使用独立沙盒中运行的做法,这样避免了应用程序将配置文件和运行过程中生成的临时文件散乱的丢在系统各种目录中。Jessie现在的工作环境主要是Debian系统,出于这种喜好,她将自己常用的各种软件统统使用Docker容器化了。 将容器中的图形界面展示到外部的一般性思路。 目前Unix