libreoffice

LibreOffice Calc: How to convert unformatted text to numbers (or other format)

纵饮孤独 提交于 2019-12-05 02:03:54
How do I paste unformatted text (csv or tab delimited for instance) into LibreOffice Calc and then format it as numbers (without editing every cell by hand). When I paste the text below it puts a ' in front of everything so if I try to convert it to a number it's still text. Text 0.01% 3% 5.1% Asdf 0.2% 4% 6.0% So for example if I paste special that as unformatted text with space delimiters and then convert 0.01% to a number (which would then say 0.0001 if it did what I wanted), it now says '0.01% in the cell. This procedure is tested in LibreOffice 4.0.2. Paste as unformatted text, and choose

ErrorCodeIOException convert files

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 21:25:52
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.environments.remote.JobQueue.enter(JobQueue.java:304) at com.sun.star.lib.uno.environments.remote

Installing pyuno (LibreOffice) for private Python build

北城以北 提交于 2019-12-04 14:09:24
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 sure how to go about building/integrating this into another Python tree. Any experiences here? Help?

Parallel Document Conversion ODT > PDF Libreoffice

给你一囗甜甜゛ 提交于 2019-12-04 11:18:00
问题 I am converting hundreds of ODT files to PDF files, and it takes a long time doing one after the other. I have a CPU with multiple cores. Is it possible to use bash or python to write a script to do these in parallel? Is there a way to parallelize (not sure if I'm using the right word) batch document conversion using libreoffice from the command line? I have been doing it in python/bash calling the following commands: libreoffice --headless --convert-to pdf *appsmergeme.odt OR subprocess.call

Libreoffice converting html to xls or xlsx

孤人 提交于 2019-12-04 10:13:15
I am trying to use Libreoffice to convert a HTML file to XLS or XLSX format. With LibreOffice 4.0.4.2 running on CentOS release 6.5 (Final) I was able to convert simple html to Microsoft XLS with the following command. soffice --headless --convert-to xls my_file.html I've been testing on the latest LibreOffice 5.0.4.2 without success. I'm using the following command and including the filter: libreoffice5.0 --headless --convert-to xls:"MS Excel 97" test.html It returns the following. convert /path/to/test.html -> /path/to/test.xls using filter : MS Excel 97 Overwriting: /path/to/test.xls Error:

what language do I need to write macros in LIbre Office Calc? [closed]

感情迁移 提交于 2019-12-03 17:22:51
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I've written a bunch of VBA code for various things in Excel. I'm looking at migrating to libreOffice. Under Tool->Macros->Organize Macros: the two choices are LibreOffice Basic and Python. Should I learn one of those, both, or something else. Am I wasting my time altogether?

Importing HTML table into OO Calc as UTF8 without converting to entities

本小妞迷上赌 提交于 2019-12-03 16:10:17
I have a problem when opening a HTML table in OpenOffice or LibreOffice if it contains UTF8 extended characters like ÅÄÖåäö. When opening the table into M$ Excel it works as intended but I can't make OO do the same thing. By converting all extended characters to its HTML entity eqivalent Å etc. it works but it would be nice to get the correct characters directly. Is there anyone who knows what I should do? The following content I have in a file called excelsample.xls and if I open that with OO Calc it will not look nice. <!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="content

Parallel Document Conversion ODT > PDF Libreoffice

笑着哭i 提交于 2019-12-03 06:20:40
I am converting hundreds of ODT files to PDF files, and it takes a long time doing one after the other. I have a CPU with multiple cores. Is it possible to use bash or python to write a script to do these in parallel? Is there a way to parallelize (not sure if I'm using the right word) batch document conversion using libreoffice from the command line? I have been doing it in python/bash calling the following commands: libreoffice --headless --convert-to pdf *appsmergeme.odt OR subprocess.call(str('cd $HOME; libreoffice --headless --convert-to pdf *appsmergeme.odt'), shell=True); Thank you! Tim

what language do I need to write macros in LIbre Office Calc? [closed]

我与影子孤独终老i 提交于 2019-12-03 05:39:04
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . I've written a bunch of VBA code for various things in Excel. I'm looking at migrating to libreOffice. Under Tool->Macros->Organize Macros: the two choices are LibreOffice Basic and Python. Should I learn one of those, both, or something else. Am I wasting my time altogether? Any suggestions appreciated. Python is the way to go. Start here: http://wiki.python.org/moin/BeginnersGuide

LibreOffice: &#039;com.mysql.jdbc.driver&#039; cannot be loaded

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to connect LibreOffice Base with an MySQL database, in phpMyAdmin, with a JDBC-connection. The first step is to select which database you want to select: The second step is to select which connection: The third step is to select your database: When I press 'Klasse testen' ( Test Class ), I get the following error: 'com.mysql.jdbc.driver cannot be loaded'. Does anyone know how to avoid this error? 回答1: You need to download and "register" the JDBC connector first. To do so: Go to http://dev.mysql.com/downloads/connector/j/ and