[Harbour-users] Re: Se puede generar desde harbour archivos Excel desde Linux nativo / Can be generated from harbor native Excel files from Linux.

Guillermo Varona Silupú gvarona at ec-red.com
Tue Feb 16 08:18:57 EST 2010


Hola Angel y Agustianes, gracias por responder.

El punto es que ya tenía todo muy bonito en Windows con una rutina que 
exportaba a Excel, todo formateado con con formulas, colores, 
combinaciones de celdas, en varias hojas, búsquedas, etc, había llegado 
a utilizar el excel desde harbour de una forma mas o menos avanzada, y 
de pronto decidieron utilizar Ubuntu, pero que se siga generando la hoja 
Excel de la misma forma y mas aún sin ningún Windows virtual ni nada por 
el estilo que implique compra de licencias Windows u Office.
Entonces veo 2 salidas posibles:
1.- El Hint de Angel, utilizar HTML, pero, ¿Se puede hacer todo esto 
desde HTML? (Fórmulas, colores, búsquedas, etc)
2.- Generar el Archivo en OO y luego cargarlo desde OO y luego guardarlo 
en formato Excel.

Sinceramente, ninguna de las 2 salidas me parece elegante, ademas de que 
ambas opciones implicaría ponerme a aprender OO ó HTML desde cero para 
poder reproducir lo que hasta el momento tenía hecho con Excel.

¿Habrá alguna otra manera?

De antemano, Muchas Gracias.

[EN] By Google:

Hi Agustianes Hi Angel and thanks for responding.

The point is that I was all very nice in Windows with a routine that 
exported to Excel, all formatted with formulas, colors, combinations of 
cells on multiple sheets, searching, etc., had come to use Excel from 
harbor a form more or less advanced, and suddenly decided to use Ubuntu, 
but to continue generating the Excel sheet in the same way and yet apart 
from any Windows virtual or anything of the sort that involves purchase 
of Windows or Office license.
So I see 2 outputs are possible:
1 .- Angel Hint, use HTML, but what can be done all from HTML? 
(Formulas, colors, searches, etc)
2 .- Build the file and then load it from OO OO and save it in Excel format.

Frankly, none of the 2 outputs seems elegant, besides that both options 
would get to learn OO or HTML from scratch to reproduce what had 
hitherto done with Excel.

Is there another way?

In advance, Thank you.

Salu2,
GVS

Agustianes Umbara Suwardi escribió:
> I don't know about Excel, but you can export your table as CSV that can 
> be read by Excel or OOffice:
> 
> DbSelect('yourtable')
> copy to exported.csv delimited
> 
> I usually export the table to CSV and then copy-paste it to Spreadsheet 
> templates. It's a double effort but it works on me.
> 
> On 02/16/2010 05:39 AM, Angel Pais wrote:
>> El 15/02/2010 19:49, Guillermo Varona Silupú escribió:
>>> Hola,
>>> Se puede generar desde harbour archivos Excel desde Linux nativo.
>>> ¿Es posible esto?
>>> ¿Cómo?
>>>
>>> [By Google]
>>> Hi,
>>> Can be generated from harbor native Excel files from Linux.
>>> Is it possible?
>>> How?
>>>
>>> TIA
>>>
>>> BestRegards
>>> GVS
>>
>> Hint: Excel and OO read html tables
>>
>> HTH
>> Angel
>>
>> _______________________________________________
>> Harbour-users mailing list (attachment size limit: 40KB)
>> Harbour-users at harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour-users



More information about the Harbour-users mailing list