libreoffice

LibreOffice: how to make a Radio Button group

巧了我就是萌 提交于 2019-12-25 16:19:10
问题 In a LibreOffice Writer document, how do I make a radio button group? I cannot get my buttons to "group". I'm using LibreOffice 5.3.4.2 (x64). I place multiple Radio buttons controls in my Writer document. I select two buttons and, in the controls' Properties, I assign them the same Group Name. I select two other buttons and assign them their own, same Group Name. Example : "Do you like dogs? O Yes, O No." (These would be the " Dogs " group) "Do you hate cats? O Yes, O No." (These would be

Export pdf from Draw document with transparency

无人久伴 提交于 2019-12-25 06:56:15
问题 I use Libreoffice Draw for drawing block diagrams. I export them automatically on the command line using the following command: soffice --headless --convert-to pdf --outdir figures figures_raw/foo.odg However, this does not preserve transparency - the background is always white. How to convert odg drawings to pdf but preserver the transparency? 回答1: However, this does not preserve transparency - the background is always white. This is so by specification. In the PDF specification, when

Arranging group of numbers to fit Specific size total

 ̄綄美尐妖づ 提交于 2019-12-25 05:08:03
问题 I have several different numbers in a group that range in sizes and would like to calculate which group the numbers should go in based on the max size the group can be. Example of the numbers: 10,20,30,40,50,60 Example of conditions: the maximum total the numbers can add up to in a group is 60 So from the example above the answer would be: group 1 would have the numbers 10,20,30 group 2 would have the number 40 group 3 would have the number 50 group 4 would have the number 60 Is there a way

how to create docx files with python

帅比萌擦擦* 提交于 2019-12-24 23:04:22
问题 I am trying to take my data and put it in tables in either microsoft words or libreoffice writer. I need to be able to change the background of cells within the table and I need to be able to change the page property to 'landscape'. I have been looking for a library with simple code ( I am a beginner in coding ) but I did not find one for what I need to do. Have you heard of anything for me ? If there are example on how to use it that would make it easier for me to learn it. 回答1: Check out

LibreOffice Base JDBC connection to Hive returns “Method not supported” when executing valid select statement

独自空忆成欢 提交于 2019-12-24 17:48:02
问题 I'm trying to get LibreOffice's Base v5.1.4.2, running on Ubuntu v16.04 to connect to a Hive v1.2.1 database via JDBC. I added the following jars, downloaded from Maven Central, to LibreOffice's classpath ('Tools -> LibreOffice -> Advanced -> Class Path'): hive-common-1.2.1.jar hive-jdbc-1.2.1.jar hive-metastore-1.2.1.jar hive-service-1.2.1.jar hadoop-common-2.6.2.jar httpclient-4.4.jar httpcore-4.4.jar libthrift-0.9.2.jar commons-logging-1.1.3.jar slf4j-api-1.7.5.jar I then restarted

Create a libreoffice text-based datasource and set settings with java

半腔热情 提交于 2019-12-23 17:38:39
问题 I need to create a LibreOffice Text-based-Datasource within Java. My needs are to deliver the user an .csv file with a header row and n-many value rows. This csv File is the datasource to execute a mail merge job. The execution of the mail merge job already works perfectly if I create the datasource manually with the LibreOffice wizard for creating new databases. In my environment I'm not able to create a database for every user who use the application. I'm already able to create a new

COUNTIF with multiple criteria

╄→尐↘猪︶ㄣ 提交于 2019-12-23 12:28:46
问题 Can you please advise on how can I use COUNTIF with multiple conditions? My proposal (left) shows the formula for one criterion (distinct regions). However, I am interested in counting distinct regions for each distinct month (two criteria) - on the right: desired result. 回答1: you can use COUNTIFS instead =1/COUNTIFS($A:$A,A2,$B:$B,B2) 来源: https://stackoverflow.com/questions/17215915/countif-with-multiple-criteria

Having trouble using Python and LibreOffice to convert pdf to docx and doc to docx

笑着哭i 提交于 2019-12-23 03:19:09
问题 I have spent a good amount of time trying to determine what is going wrong exactly, with the code I am using to convert pdf to docx (and doc to docx) using LibreOffice. I have used both the windows run interface to test-run some of the code I have found to be relevant, and have tried on python as well, neither of which works. I have LibreOffice v6.0.2 installed on windows. I have been using variations of this code to attempt to convert some pdfs to docx of which the specific pdf file is not

Convert PDF to .docx with Python

£可爱£侵袭症+ 提交于 2019-12-22 11:19:18
问题 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

libreoffice 表格中的图片居中

孤者浪人 提交于 2019-12-21 10:16:29
1、先在图片上右键,”锁定—当作字符“ 2、选择整个段落。菜单【“格式—段落】,设置框中,选”对齐“标签,下面有”文本对齐方式“,选【居中】。 参考博客: https://zhidao.baidu.com/question/584812572.html 来源: CSDN 作者: 周杰伦本人 链接: https://blog.csdn.net/sdaujsj1/article/details/103638631