|
|
Home » Developing U++ » U++ Developers corner » xlslib in U++!
xlslib in U++! [message #21884] |
Tue, 09 June 2009 11: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).
|
|
|
|
|
|
Re: xlslib in U++! [message #21894 is a reply to message #21892] |
Tue, 09 June 2009 16:08   |
 |
koldo
Messages: 3432 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   |
|
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 #21903 is a reply to message #21901] |
Wed, 10 June 2009 09:15   |
|
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 #21905 is a reply to message #21904] |
Wed, 10 June 2009 10:06   |
|
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 #21909 is a reply to message #21884] |
Wed, 10 June 2009 14:01   |
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
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 531 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   |
|
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 #23789 is a reply to message #23783] |
Sun, 22 November 2009 14:34  |
|
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.
|
|
|
Goto Forum:
Current Time: Mon Apr 28 19:23:34 CEST 2025
Total time taken to generate the page: 0.01063 seconds
|
|
|