libreoffice

LibreOffice macro showing simple TextBox shape

╄→尐↘猪︶ㄣ 提交于 2021-02-11 16:07:52
问题 I cannot figure out (or find an example) how to perform the following simple thing in the LibreOffice Calc 6.2: I have a drawing shape (e.g. a simple rectangle) in a sheet (call it ShapeA) and a textbox shape in another sheet (call it TextboxB). I want to do the following: when I click on the ShapeA, the TextboxB must appear on the screen (without changing the current sheet, maybe in a dialog box) and then be closed with a mouse click. I guess the macro associated with ShapeA could look

LibreOffice macro showing simple TextBox shape

别说谁变了你拦得住时间么 提交于 2021-02-11 16:04:47
问题 I cannot figure out (or find an example) how to perform the following simple thing in the LibreOffice Calc 6.2: I have a drawing shape (e.g. a simple rectangle) in a sheet (call it ShapeA) and a textbox shape in another sheet (call it TextboxB). I want to do the following: when I click on the ShapeA, the TextboxB must appear on the screen (without changing the current sheet, maybe in a dialog box) and then be closed with a mouse click. I guess the macro associated with ShapeA could look

LibreOffice macro showing simple TextBox shape

﹥>﹥吖頭↗ 提交于 2021-02-11 16:04:06
问题 I cannot figure out (or find an example) how to perform the following simple thing in the LibreOffice Calc 6.2: I have a drawing shape (e.g. a simple rectangle) in a sheet (call it ShapeA) and a textbox shape in another sheet (call it TextboxB). I want to do the following: when I click on the ShapeA, the TextboxB must appear on the screen (without changing the current sheet, maybe in a dialog box) and then be closed with a mouse click. I guess the macro associated with ShapeA could look

Running (Generate PDF) soffice LibreOffice on Windows PHP exec() doesn't work

风流意气都作罢 提交于 2021-02-11 13:44:01
问题 I'm trying to generate a pdf from docx using soffice so i try it on apache linux and its works, but im trying in windows server 2012 and IIS 6.2. If i run this command on CMD its works: soffice --headless --convert-to pdf:writer_pdf_Export --outdir ../../storage/app/ACTIVO/2019-03/3404/docx/ ../../storage/app/ACTIVO/2019-03/3404/docx/documento_word.docx So in PHP I try this: $comando = 'soffice --headless --convert-to pdf:writer_pdf_Export --outdir ../../storage/app/ACTIVO/2019-03/3404/docx/

自由软件基金会庆祝成立35周年

心已入冬 提交于 2021-02-11 13:28:50
美国东部时间 10 月 4 日,自由软件基金会(Free Software Foundation,FSF)在官网 发文庆祝 ”其为争取软件自由而奋斗的第 35 年“。 1985 年 10 月,自由软件运动的主要发起人 RMS(Richard Matthew Stallman)创办了这一非营利性组织,旨在推广自由软件及其理念。35 年后的今天,FSF 现任主席 Greg Farough 称他们的使命仍在继续,”直到每位计算机用户都能完全自由地践行所有数字任务后,我们的工作才算完成……自由软件的斗争仍在继续,没有你们,我们就不会在这里。“ FSF 计划用整整一周时间来做庆祝。其中,美国东部时间 10 月 9 日 12:00 至 17:00 将举行在线周年纪念活动,包括现场直播和预先录制的视频。因此,他们号召用户上传两分钟以内的简短视频,分享对自由软件或 FSF 的记忆片段,以及对软件自由的未来期盼。 除此之外,该基金会还提供了一些可行的庆祝方式,提议大家参与其中,包括但不限于: 为 FSF 捐款 35 美元; 尝试完全自由的 GNU/Linux 发行版; 下载并尝试使用 GNU 操作系统最古老的部分之一,即 GNU Emacs 文本编辑器; 用自由的程序替换一个非自由程序,例如使用 LibreOffice 而不是 Microsoft Office;

libreoffice macro - toggle enablevisible on a textfield

与世无争的帅哥 提交于 2021-02-08 03:34:11
问题 I'm using python macro to do things to a libreoffice writer file. And I'd like a possibility to toggle the EnableVisible flag of a TextField. That means, toggle the little flag that you can use, when double clicking on that field, to make it visible or invisible. So far I got this in my code : import uno def toggle_field(field_title): document = XSCRIPTCONTEXT.getDocument() textfields = document.getTextFields() enum = textfields.createEnumeration() while enum.hasMoreElements(): tf = enum

Does LibreOffice/OpenOffice Support the COM Model

♀尐吖头ヾ 提交于 2021-02-07 10:14:36
问题 Does LibreOffice/OpenOffice Support the COM Model (Component Object Model)? 回答1: Not directly. The creators of OpenOffice/LibreOffice invented their own component framework which is called UNO. From the limited insights into this framework (quite crappy documentation, but the official COM documentation is also crap [save Don Box'es book, but that is Addison Wesley]), it seems to me as if UNO is quite a match to COM (no fixed ABI, so that components from the same environment can talk to each

Does LibreOffice/OpenOffice Support the COM Model

佐手、 提交于 2021-02-07 10:13:07
问题 Does LibreOffice/OpenOffice Support the COM Model (Component Object Model)? 回答1: Not directly. The creators of OpenOffice/LibreOffice invented their own component framework which is called UNO. From the limited insights into this framework (quite crappy documentation, but the official COM documentation is also crap [save Don Box'es book, but that is Addison Wesley]), it seems to me as if UNO is quite a match to COM (no fixed ABI, so that components from the same environment can talk to each

How to programatically modify Open/Libre Office odt document?

此生再无相见时 提交于 2021-02-07 08:54:06
问题 I would like to use OO/LO PDF generation capabilities in my applications. To do it, I need to be able to modify a previously generated odt template from my code. The modification would be simple text replacements only (which do not even require regexes). OO's developer's guide does not contain any examples or tutorials which would allow me to do what I need to do. Neither is LO's developer's guide useful. It contains multiple java examples, but no useful C++ code. For both APIs a doxygen

Open password-protected ods file with python-xlswriter or bash

只愿长相守 提交于 2021-01-29 10:54:05
问题 I need a code to open spreadsheet via python3 (preferred) or bash that I give them password and they read them. I try by python-module "xlswriter" I protect xlsx with this method: import xlsxwriter workbook = xlsxwriter.Workbook('for-test-password.xlsx') worksheet = workbook.add_worksheet() content = ( ['Gas', 10], ['Gasoline', 20], ['Potro', 30], ['Other',40], ) row = 0 col = 0 for item, cost in (content): worksheet.write(row, col, item) worksheet.write(row, col + 1, cost) row += 1 worksheet