Author |
Topic: LibreOffice Calc (Read 1083 times) |
|
g3nrw
Junior Member
member is offline


Posts: 74
|
 |
LibreOffice Calc
« Thread started on: Nov 22nd, 2014, 9:02pm » |
|
I plan to write a BB4W program that reads data from a COM port and saves it in a LibreOffice Calc spreadsheet. Ideas/techniques/example code for accessing the Calc data structures anyone?
-- Ian
|
« Last Edit: Nov 22nd, 2014, 9:05pm by g3nrw » |
Logged
|
|
|
|
rtr2
Guest
|
 |
Re: LibreOffice Calc
« Reply #1 on: Nov 22nd, 2014, 9:31pm » |
|
on Nov 22nd, 2014, 9:02pm, g3nrw wrote:I plan to write a BB4W program that reads data from a COM port and saves it in a LibreOffice Calc spreadsheet. |
|
Will a CSV (or tab-separated) file meet your requirements? I'm presuming LibreOffice will read such a file - MS Excel definitely will - and if so it would be the simplest solution.
Richard.
|
|
Logged
|
|
|
|
g3nrw
Junior Member
member is offline


Posts: 74
|
 |
Re: LibreOffice Calc
« Reply #2 on: Nov 23rd, 2014, 06:05am » |
|
Not really.
What I have in mind is replicating an Excel VBA app I wrote some time ago, but now want to rewrite for LibreOffice to make the functionality available for people who don't have Excel.
In essence, the app displays a spreadsheet, and has several buttons, including a CONNECT and a READ button. After CONNECTing to the external device, the program READs data and plugs it into individual spreadsheet cells in real time.
To do this, I need to know how to make BB4W identify and write into individual Calc cells. As Calc and BB4W executables are separate entities (as opposed to Excel which is tightly integrated with VBA), it may not be practical to do what I want. At this time I am just wondering if anyone here has done anything broadly similar.
-- Ian
|
« Last Edit: Nov 23rd, 2014, 06:15am by g3nrw » |
Logged
|
|
|
|
g3nrw
Junior Member
member is offline


Posts: 74
|
 |
Re: LibreOffice Calc
« Reply #4 on: Nov 23rd, 2014, 11:01am » |
|
Thanks Richard. That will wipe the smile off my face for an hour or two 
-- Ian
|
|
Logged
|
|
|
|
|