openoffice.org

google docs spreadsheet export: How to remove apostrophe from times, dates [closed]

巧了我就是萌 提交于 2021-02-11 15:09:56
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Improve this question I'm exporting a spreadsheet from Google Docs as CSV, and there are apostrophe's (') prepended to each date and time value. This is really annoying as OpenOffice doesn't seem to be able to find/replace these in the spreadsheet editor. I could solve the problem by

How to add/insert a xml node into text

痞子三分冷 提交于 2021-02-10 11:55:36
问题 I am generating a text document in the open document format (odt) which is based on XML. But I have a problem when adding a tabulator in a text passage. When I create it in the Open Office application and save the document the passage has the internal XML representation as: <text:p text:style-name="P5">Prepared by: <text:tab/>Tim Test</text:p> When generating it automatically I come to this part in my source code: Node, Node1: IXMLNode; ... Node := Node1.AddChild('text:p'); Node.Attributes[

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

LibreOffice XParagraphCursor stuck when blank line

十年热恋 提交于 2020-07-09 11:51:42
问题 I have a code that was working perfectly fine until LibreOffice 5. But in LibreOffice 6 (both 32 and 64 bits) it stopped working. public String getNextSentenceOO() { while (moreParagraphsOO) { while (moreSentencesOO) { xSentenceCursor.gotoEndOfSentence(true); textSentence = xSentenceCursor.getString(); xTextViewCursor.gotoRange(xSentenceCursor.getStart(), false); xTextViewCursor.gotoRange(xSentenceCursor.getEnd(), true); if (!textSentence.equals("")) { return textSentence; } moreSentencesOO =

How to use LibreOffice API (UNO) with Python + Windows?

怎甘沉沦 提交于 2020-05-15 22:55:09
问题 This question is focused on Windows + LibreOffice + Python 3. I've installed LibreOffice (6.3.4.2), also pip install unoconv and pip install unotools ( pip install uno is another unrelated library), but still I get this error after import uno : ModuleNotFoundError: No module named 'uno' More generally, and as an example of use of UNO, how to open a .docx document with LibreOffice UNO and export it to PDF? I've searched extensively on this since a few days, but I haven't found a reproducible