A question of csv file

The Application Programming Interface and the OASIS Open Document Format

A question of csv file

Postby supernam » Thu Jan 04, 2018 9:44 am

Hi All,

I'm a java developer. I need to read the csv file in linux now.
Can I use the jopendocument API to read csv files? or save the csv file as an ods file.

Thanks in advance.
OpenOffice 1.4 on Linux
Posts: 8
Joined: Thu Jan 04, 2018 9:08 am

Re: A question of csv file

Postby Villeroy » Thu Jan 04, 2018 12:26 pm

This is a user forum for OpenOffice. I'm not sure anybody here knows jopendocument.
Anyway, at least the API should allow you to read the delimited data into a nested array and then dump it into a sheet analog to https://wiki.openoffice.org/wiki/Docume ... Data_Array
If you are running a desktop Linux then you have an ODF suite intstalled, propably LibreOffice. Install its SDK and use its API. This forum is full of examples that apply to LIbreOffice and OpenOffice likewise.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
Posts: 29922
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Return to UNO API and ODF

Who is online

Users browsing this forum: No registered users and 2 guests