-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worksheet -> [[Text]] function? #21
Comments
Currently xlsx does not support cell formatting - |
Yeah, I mean exporting to csv from a spreadsheet program usually preserves that kind of formatting... so without that I'm kind of hesitating to add xlsx as a dependency... thanks anyway :) |
I'll try to look into that area but no particular promises at the moment |
FWIW, I happened to implement something along these lines, because the xls package has this and I wanted a unified Megaparsec parser for both xlsx and xls. Here is the code:
|
@olafklinke could we worth creating a PR if you have time for it |
IMHO this would actually better be part of a separate package, see here. |
This is not really urgent, but I was thinking of adding xlsx support (in addition to csv) to the pandoc-placetable filter, so I'd need a
Worksheet -> [[Text]]
function.I guess I could come up with the fold
Map (Int, Int) Cell -> [[Cell]]
myself somehow (although there might be a neater way using Lens.Traversal?), but how about aCell -> Text
function that preserves some styling for numbers (like number of significant digits, currency, scientific notation etc.)?The text was updated successfully, but these errors were encountered: