[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to direct output into the LibreOffice Calc



On Tue, Feb 28, 2012 at 10:06:48PM +0800, lina wrote:
> Hi,
> 
> I wonder:
> 
> 1]
> 
> can the output like:
> 
> 5
> 3
> 1
> 5
> 3
> 
> direct it into the LibreOffice directly. without copy and paste.

Directly, no. However, LibreOffice has an extensive API[1]. In theory,
you could create a script (there is a python example) that accepts
input, starts LibreOffice and then pastes the lines into cells (I'm
assuming you want the numbers in a spreadsheet). If you have ever
programmed Excel, LibreOffice shouldn't present much of a learning
curve.

[1] http://api.libreoffice.org/

-- 
Darac Marjal


Reply to: