openoffice-calc

OpenOffice when exporting CSV underscores are replaced with “+AF8-”

試著忘記壹切 提交于 2019-12-04 03:31:47
问题 I'm having issues with a Open Office. I'm trying to export some files as CSV text and it appears that underscores and perhaps some other characters are being replaced. For instance, I created this file in a text editor and saved it as test.csv: "this_value","is_replaced" I then opened the file into Open Office as a spreadsheet. It looked fine. Then I saved it as a new CSV file named test-export.csv. When I open the new file in a text editor, the underscores are replaced with "+AF8-", and the

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

How to prevent OpenOffice/LibreOffice Calc from changing what you input (data, numbers,…)

╄→гoц情女王★ 提交于 2019-12-03 14:28:02
问题 Basically, I want LibreOffice Calc to do what I tell it, not what it wants. For example: when I input 1.1.12, I want to have 1.1.12 in that cell, not 01.01.2012 or whatever. when I input 001, I want to have 001 in that cell, not 1 and so on and so forth I want it to never ever touch my data until I explicitly tell it to. Is that possible at all? I know I can set format of a cell to text. It doesn't help at all. Example: Input 1.1.12, it gets displayed as 01.01.12, format as text, it becomes

How to prevent OpenOffice/LibreOffice Calc from changing what you input (data, numbers,…)

旧街凉风 提交于 2019-12-03 05:19:26
Basically, I want LibreOffice Calc to do what I tell it, not what it wants. For example: when I input 1.1.12, I want to have 1.1.12 in that cell, not 01.01.2012 or whatever. when I input 001, I want to have 001 in that cell, not 1 and so on and so forth I want it to never ever touch my data until I explicitly tell it to. Is that possible at all? I know I can set format of a cell to text. It doesn't help at all. Example: Input 1.1.12, it gets displayed as 01.01.12, format as text, it becomes "40909", original input is lost Format empty cells as text. Paste "000 001 002 ..." separated by line

CSV writing strings of text that need a unique delimiter

点点圈 提交于 2019-12-02 08:53:35
问题 I wrote an HTML parser in python used to extract data to look like this in a csv file: itemA, itemB, itemC, Sentence that might contain commas, or colons: like this,\n so I used a delmiter ":::::" thinking that it wouldn't be mined in the data itemA, itemB, itemC, ::::: Sentence that might contain commas, or colons: like this,::::\n This works for most of the thousands of lines, however, apparently a colon : offset this when I imported the csv in Calc. My question is, what is the best or a

OpenOffice when exporting CSV underscores are replaced with “+AF8-”

吃可爱长大的小学妹 提交于 2019-12-01 18:21:23
I'm having issues with a Open Office. I'm trying to export some files as CSV text and it appears that underscores and perhaps some other characters are being replaced. For instance, I created this file in a text editor and saved it as test.csv: "this_value","is_replaced" I then opened the file into Open Office as a spreadsheet. It looked fine. Then I saved it as a new CSV file named test-export.csv. When I open the new file in a text editor, the underscores are replaced with "+AF8-", and the comma is replaced with a tab. this+AF8-value is+AF8-replaced This change makes the file useless for my

Convert Calc(Excel) Data in XML in OpenOffice

强颜欢笑 提交于 2019-11-30 21:38:52
I have a requirement to convert OpenOffice Excel data into XML . I have Apache OpenOffice 4.1.1 in my machine (not MS- Office). Sample Data. (First Row is of Tags ) CustData FirstName MiddleName LastName EMail PhoneNumber abe x Park abe@mail.com 2323232323 poppy y Kaith Poppy@mail.com 2323232323 Need Result as : <CustData> <FirstName>abe</FirstName> <MiddleName>x</MiddleName> <LastName>Park</LastName> <EMail>abe@mail.com</EMail> <PhoneNumber>2323232323</PhoneNumber> </CustData> <CustData> <FirstName>poppy</FirstName> <MiddleName>y</MiddleName> <LastName>Kaith</LastName> <EMail>Poppy@mail.com <

How can I call a Python macro in a cell formula in OpenOffice.Org Calc?

寵の児 提交于 2019-11-30 07:22:30
To extend OpenOffice's capabilities, I've defined some Python macros in a file in the user script directory (~/Library/Application Support/OpenOffice.org/3/user/Scripts/python/, in my case). The macros are visible in the Python macro organizer. However, using the functions in a cell formula results in "#NAME?" ( OO.org error 525). Suppose I've defined the following function : def pytype(val): return str(type(val)) How can I call pytype in a cell formula (e.g. =PYTYPE("string") )? Background I'm importing some data from Authorize.net into a MySQL database for analysis. MySQL can't parse the

Convert Calc(Excel) Data in XML in OpenOffice

守給你的承諾、 提交于 2019-11-30 05:48:05
问题 I have a requirement to convert OpenOffice Excel data into XML . I have Apache OpenOffice 4.1.1 in my machine (not MS- Office). Sample Data. (First Row is of Tags ) CustData FirstName MiddleName LastName EMail PhoneNumber abe x Park abe@mail.com 2323232323 poppy y Kaith Poppy@mail.com 2323232323 Need Result as : <CustData> <FirstName>abe</FirstName> <MiddleName>x</MiddleName> <LastName>Park</LastName> <EMail>abe@mail.com</EMail> <PhoneNumber>2323232323</PhoneNumber> </CustData> <CustData>

Python, OpenOffice: Programmatically Manipulating spreadsheets

半世苍凉 提交于 2019-11-28 11:14:20
I have an spreadsheet-based automated report that needs to be created daily, with some charts, aggregating functions (e.g. SUM and AVERAGE) and formatted cells (Dates, percentage, etc.). I have tried to write these results directly to an Excel file , but Python's xlwt and xlrd don'y support charts and functions. Moreover, trying to open an existing, formatted Excel file and changing some cell's values ended up erasing all charts and functions in the existing file. Is there a way to write charts and functions to an OpenOffice spreadsheet, or at least change cells in an existing spreadsheet