jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.48k stars 330 forks source link

Ability to insert a link with href #416

Closed k-bx closed 10 months ago

k-bx commented 10 months ago

Originally requested for Rust bindings here https://github.com/informationsea/xlsxwriter-rs/issues/54

I'd like to insert a link which is displayed as text, not raw html, like this:

jmcnamara commented 10 months ago

As I pointed out in the other issue this is already possible using the current libxlsxwriter APIs. See for example here: http://libxlsxwriter.github.io/hyperlinks_8c-example.html#a12

Are you requesting something outside of that?

jmcnamara commented 10 months ago

Also, since the original request came from Rust I'll note that URLs with text and other options are supported in rust_xlsxwriter:

https://docs.rs/rust_xlsxwriter/latest/rust_xlsxwriter/struct.Worksheet.html#method.write_url_with_text