Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » xlslib in U++!
xlslib in U++! [message #21884] Tue, 09 June 2009 11:14 Go to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Hello everyone,

Searching in the internet for cross-os library to direct save and read .xls file (MS excel format) without installing Openoffice or MS excel I found xlslib library on http://xlslib.sourceforge.net/ with same license (GNU GPL).

I thing that it will be great to integrate in U++, but before I want to ask your opinion about this.

Ion Lupascu (tojocky).
Re: xlslib in U++! [message #21887 is a reply to message #21884] Tue, 09 June 2009 11:56 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
tojocky wrote on Tue, 09 June 2009 12:14

Hello everyone,

Searching in the internet for cross-os library to direct save and read .xls file (MS excel format) without installing Openoffice or MS excel I found xlslib library on http://xlslib.sourceforge.net/ with same license (GNU GPL).

I thing that it will be great to integrate in U++, but before I want to ask your opinion about this.

Ion Lupascu (tojocky).


Hi, license is LGPL, even so i don't know if you are allowed to distribute it with you commercially application. Anyway it's up to you if you need it and want to make a wrapper on top of it.
Re: xlslib in U++! [message #21888 is a reply to message #21884] Tue, 09 June 2009 12:25 Go to previous messageGo to next message
riri is currently offline  riri
Messages: 18
Registered: February 2006
Location: France
Promising Member
Hi

There's a newcomer : Xemeiah. Seems to be a good project, but I've not tested it yet.

http://xemeiah.sourceforge.net/

EDIT: Oops, sorry, we're not taking about the same thing, I read XSL instead of XLS Smile

[Updated on: Tue, 09 June 2009 12:27]

Report message to a moderator

Re: xlslib in U++! [message #21892 is a reply to message #21887] Tue, 09 June 2009 15:23 Go to previous messageGo to next message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
andrei_natanael wrote on Tue, 09 June 2009 05:56


Hi, license is LGPL, even so i don't know if you are allowed to distribute it with you commercially application. Anyway it's up to you if you need it and want to make a wrapper on top of it.


If it's LGPL then you can. If GPL like originally reported, you can charge for your app but you have to make the sources available.

Jeremy
Re: xlslib in U++! [message #21894 is a reply to message #21892] Tue, 09 June 2009 16:08 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello tojocky

I have made a xlslib package and a Hello World inside Upp compiled in Windows with MinGW and MSC9, and runs well.

This afternoon I will test it in Linux.

If you can do a wrapper it would be well. If not I am open to do it.

Best regards
Koldo


Best regards
Iñaki

[Updated on: Tue, 09 June 2009 17:02]

Report message to a moderator

Re: xlslib in U++! [message #21897 is a reply to message #21894] Tue, 09 June 2009 20:10 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

koldo wrote on Tue, 09 June 2009 17:08

Hello tojocky

I have made a xlslib package and a Hello World inside Upp compiled in Windows with MinGW and MSC9, and runs well.

This afternoon I will test it in Linux.

If you can do a wrapper it would be well. If not I am open to do it.

Best regards
Koldo


Nice!

Will be great to test it in Upp. You already did this work?
Can you add this in bazaar or put an example here? I didn't test in Upp yet!
Re: xlslib in U++! [message #21901 is a reply to message #21897] Wed, 10 June 2009 00:03 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello tojocky

Here I enclose you two packages one with XlsLib and other with the Demo.

This is just a Hello World to do the simplest .xls spreadsheet using directly XlsLib functions.

It has been tested in Linux and Windows.

With MSC you will need to copy to Visual C include folder stdint.h file. Look for it in Wikipedia.

With all of them you will need to add four folders in include under /src: common, data, oledoc and xlslib.

You can imagine it is too soon to put this in Bazaar. It has been made this afternoon: no wrapper at all, but:

Quote:

If you can do a wrapper it would be well. If not I am open to do it


Best regards
Koldo
  • Attachment: XlsLib.7z
    (Size: 336.79KB, Downloaded 504 times)


Best regards
Iñaki
Re: xlslib in U++! [message #21903 is a reply to message #21901] Wed, 10 June 2009 09:15 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

koldo wrote on Wed, 10 June 2009 01:03

Hello tojocky

Here I enclose you two packages one with XlsLib and other with the Demo.

This is just a Hello World to do the simplest .xls spreadsheet using directly XlsLib functions.

It has been tested in Linux and Windows.

With MSC you will need to copy to Visual C include folder stdint.h file. Look for it in Wikipedia.

With all of them you will need to add four folders in include under /src: common, data, oledoc and xlslib.

You can imagine it is too soon to put this in Bazaar. It has been made this afternoon: no wrapper at all, but:

Quote:

If you can do a wrapper it would be well. If not I am open to do it


Best regards
Koldo


Thank you Koldo!
I tested this, it is interesting project.
I will try to do a wrapper it and add here for test.

Added:

I copied in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include the file stdint.h from Wikipedia and it didn't work.
Maybe I did something wrong?

[Updated on: Wed, 10 June 2009 09:39]

Report message to a moderator

Re: xlslib in U++! [message #21904 is a reply to message #21903] Wed, 10 June 2009 09:53 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello tojocky

This is the stdint.h linked in Wikipedia that works for me:
http://msinttypes.googlecode.com/svn/trunk/stdint.h

Just copy it to a Visual C include folder and the compiler will have to find it.

This way you will not have compiling problems because of

#include <stdint.h>

inserted in XlsLib sources.

Best regards
Koldo


Best regards
Iñaki
Re: xlslib in U++! [message #21905 is a reply to message #21904] Wed, 10 June 2009 10:06 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

koldo wrote on Wed, 10 June 2009 10:53

Hello tojocky

This is the stdint.h linked in Wikipedia that works for me:
http://msinttypes.googlecode.com/svn/trunk/stdint.h

Just copy it to a Visual C include folder and the compiler will have to find it.

This way you will not have compiling problems because of

#include <stdint.h>

inserted in XlsLib sources.

Best regards
Koldo


Thank you Koldo! worked when copied in forder:

C:\Program Files\Microsoft Visual Studio 9.0\VC\include

Good job!
Re: xlslib in U++! [message #21908 is a reply to message #21905] Wed, 10 June 2009 11:44 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Well tojocky

Cheer up with the wrapper!

For XlsLib forum, please tell them U++ has BSD and not GPL license.

Best regards
Koldo



Best regards
Iñaki
Re: xlslib in U++! [message #21909 is a reply to message #21884] Wed, 10 June 2009 14:01 Go to previous messageGo to next message
ptDev is currently offline  ptDev
Messages: 25
Registered: June 2009
Promising Member
Hi, everyone.

Not the proper place to make an introduction, but I'd like to share my modified wrapper for XlsLib. I tested it under Windows, and it seems to work fine. Just extract the "XLS" directory into "uppsrc", and it will be far easier to include into any package you like. No more need to add include paths to the compiler.

To use, just import the new "XLS" package, and add
#include <XLS/XLS.h>


I should warn you that I did mess with the source (changed #includes, moved headers) in order to ease the compilation inside U++. It seems to work fine for testing purposes, at least.
A better, long term, solution should keep the original paths intact so that the user can easily update the library without further concerns.

Regards,
Francisco
  • Attachment: XLS.zip
    (Size: 229.85KB, Downloaded 479 times)

[Updated on: Wed, 10 June 2009 14:02]

Report message to a moderator

Re: xlslib in U++! [message #21910 is a reply to message #21909] Wed, 10 June 2009 14:50 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

ptDev wrote on Wed, 10 June 2009 15:01

Hi, everyone.

...................
A better, long term, solution should keep the original paths intact so that the user can easily update the library without further concerns.

Regards,
Francisco


You are right Francisco, for this I proposed this.

Ion lupascu(tojocky)
Re: xlslib in U++! [message #23783 is a reply to message #21910] Sat, 21 November 2009 23:02 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I wonder if there are been progress with this package. I am interested to test it within a U++ program.

The author of xlsLib did in the meanwhile an upgrade to version 1.5.

Thank you,
Luigi
Re: xlslib in U++! [message #23789 is a reply to message #23783] Sun, 22 November 2009 14:34 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

forlano wrote on Sun, 22 November 2009 00:02

Hello,

I wonder if there are been progress with this package. I am interested to test it within a U++ program.

The author of xlsLib did in the meanwhile an upgrade to version 1.5.

Thank you,
Luigi


I have some realizations test, but is not in production.
Previous Topic: .t / MSC / CJK - commited
Next Topic: Porting U++ to Blackfin DSP
Goto Forum:
  


Current Time: Fri Apr 19 05:05:35 CEST 2024

Total time taken to generate the page: 0.02943 seconds