libreoffice base create a list filtered by another list's value

允我心安 提交于 2019-12-08 09:23:03
问题 I have a table of provinces and a table of cities with ProvienceID. In a form, I want to create a list of cities filtered by selected value of provience list. How can I do that? I can create both lists but Cities list shows all cities from all provinces but i want to show only cities from the province that I have selected in Provinces list. I have another table "Users" with "CityID" and "ProvinceID" that my form edits it and I need to save selected values of Province and City Lists in it, not

LibreOffice: a XSLT stylesheet to generate a slideshow?

我的未来我决定 提交于 2019-12-08 08:24:25
问题 A libreoffice document is a zip file containing (among other thing) some XML files. s$ unzip -t test.odp Archive: test.odp testing: mimetype OK testing: Configurations2/statusbar/ OK testing: Configurations2/accelerator/current.xml OK testing: Configurations2/floater/ OK testing: Configurations2/popupmenu/ OK testing: Configurations2/progressbar/ OK testing: Configurations2/menubar/ OK testing: Configurations2/toolbar/ OK testing: Configurations2/images/Bitmaps/ OK testing: content.xml OK

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: at at at at

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

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 >