Re: xlsxd: A Excel xlsx writer

2019-03-18 Thread kevin brack via Digitalmars-d-announce
On Wednesday, 7 November 2018 at 16:41:39 UTC, Robert Schadek 
wrote:

https://code.dlang.org/packages/xlsxd

Announcing xlsxd a OO wrapper for the C library libxlsxwriter 
[1].


Run:

import libxlsxd;
auto workbook  = newWorkbook("demo.xlsx");
auto worksheet = workbook.addWorksheet("a_worksheet");
worksheet.write(0, 0, "Hello to Excel from D");


and you have created a Excel spreadsheet in the xlsx format 
with name demo.xlsx
that contains the string "Hello to Excel from D" in row 0, 
column 0.


[1] https://github.com/jmcnamara/libxlsxwriter


this problem solved ZetExcel.com you try this. This is very 
helpful and fastest app specially for excel library. Thanks


Re: xlsxd: A Excel xlsx writer

2018-11-29 Thread Dave via Digitalmars-d-announce

On Monday, 12 November 2018 at 10:38:28 UTC, Robert Schadek wrote:

On Saturday, 10 November 2018 at 10:55:04 UTC, Dave wrote:
Could you please elaborate a bit on your workflow for D with 
Vim? E.g. what do you use for debugging, refactoring, ... ?


I had a lot of functions looking like this

void chart_axis_set_name(lxw_chart_axis* handle, 
const(char)* name)


I had to transform into

void setName(string name) {
chart_axis_set_name(this.handle, toStringz(name));
}

For that I created a handful of (neo)vim macros that basically 
it the transformations for me.


On my neovim setup. I use dutly. Dscanner generates ctags 
recursively when I press F7. Which Ctrl-P uses for jump marks.
I use kdbg to debug, its just a somewhat pretty frontend to 
gdb. Thats pretty much it.


Many thank! I have followed your setup and it helps :-)


Re: xlsxd: A Excel xlsx writer

2018-11-12 Thread Robert Schadek via Digitalmars-d-announce

On Saturday, 10 November 2018 at 10:55:04 UTC, Dave wrote:
Could you please elaborate a bit on your workflow for D with 
Vim? E.g. what do you use for debugging, refactoring, ... ?


I had a lot of functions looking like this

void chart_axis_set_name(lxw_chart_axis* handle, const(char)* 
name)


I had to transform into

void setName(string name) {
chart_axis_set_name(this.handle, toStringz(name));
}

For that I created a handful of (neo)vim macros that basically it 
the transformations for me.


On my neovim setup. I use dutly. Dscanner generates ctags 
recursively when I press F7. Which Ctrl-P uses for jump marks.
I use kdbg to debug, its just a somewhat pretty frontend to gdb. 
Thats pretty much it.





Re: xlsxd: A Excel xlsx writer

2018-11-10 Thread Dave via Digitalmars-d-announce
On Thursday, 8 November 2018 at 08:43:10 UTC, Robert Schadek 
wrote:

dpp and a handful of vim macros did most of the work


Could you please elaborate a bit on your workflow for D with Vim? 
I often struggle with the tooling around D but consider Vim as a 
great tool to use for D development. I am aware of dutyl and also 
use it but you seem to have more tools at hand ...


E.g. what do you use for debugging, refactoring, ... ?




Re: xlsxd: A Excel xlsx writer

2018-11-09 Thread Laeeth Isharc via Digitalmars-d-announce

On Wednesday, 7 November 2018 at 16:49:58 UTC, H. S. Teoh wrote:
On Wed, Nov 07, 2018 at 04:41:39PM +, Robert Schadek via 
Digitalmars-d-announce wrote:

https://code.dlang.org/packages/xlsxd

Announcing xlsxd a OO wrapper for the C library libxlsxwriter 
[1].


Run:

import libxlsxd;
auto workbook  = newWorkbook("demo.xlsx");
auto worksheet = workbook.addWorksheet("a_worksheet");
worksheet.write(0, 0, "Hello to Excel from D");


and you have created a Excel spreadsheet in the xlsx format 
with name

demo.xlsx
that contains the string "Hello to Excel from D" in row 0, 
column 0.


[1] https://github.com/jmcnamara/libxlsxwriter


Is there support for reading xlsx files too?


T


There are various C libraries.you could just use DPP to call 
them..




Re: xlsxd: A Excel xlsx writer

2018-11-08 Thread Robert Schadek via Digitalmars-d-announce

dpp and a handful of vim macros did most of the work



Re: xlsxd: A Excel xlsx writer

2018-11-07 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Nov 07, 2018 at 04:58:46PM +, Robert Schadek via 
Digitalmars-d-announce wrote:
> On Wednesday, 7 November 2018 at 16:49:58 UTC, H. S. Teoh wrote:
> > 
> > Is there support for reading xlsx files too?
> > 
> 
> No, Pull Requests are welcome

Ah, unfortunately I have no experience working with xlsx or with
libxlsx.  I was hoping for read access in D so that I can write a simple
utility to extract data from xlsx files.  Maybe next time.


T

-- 
It always amuses me that Windows has a Safe Mode during bootup. Does that mean 
that Windows is normally unsafe?


Re: xlsxd: A Excel xlsx writer

2018-11-07 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 7 November 2018 at 16:41:39 UTC, Robert Schadek 
wrote:

https://code.dlang.org/packages/xlsxd

[snip]


You folks at Kaleidic keep doing great things.




Re: xlsxd: A Excel xlsx writer

2018-11-07 Thread Robert Schadek via Digitalmars-d-announce

On Wednesday, 7 November 2018 at 16:49:58 UTC, H. S. Teoh wrote:


Is there support for reading xlsx files too?



No, Pull Requests are welcome


Re: xlsxd: A Excel xlsx writer

2018-11-07 Thread H. S. Teoh via Digitalmars-d-announce
On Wed, Nov 07, 2018 at 04:41:39PM +, Robert Schadek via 
Digitalmars-d-announce wrote:
> https://code.dlang.org/packages/xlsxd
> 
> Announcing xlsxd a OO wrapper for the C library libxlsxwriter [1].
> 
> Run:
> 
> import libxlsxd;
> auto workbook  = newWorkbook("demo.xlsx");
> auto worksheet = workbook.addWorksheet("a_worksheet");
> worksheet.write(0, 0, "Hello to Excel from D");
> 
> 
> and you have created a Excel spreadsheet in the xlsx format with name
> demo.xlsx
> that contains the string "Hello to Excel from D" in row 0, column 0.
> 
> [1] https://github.com/jmcnamara/libxlsxwriter

Is there support for reading xlsx files too?


T

-- 
Старый друг лучше новых двух.