Skip to content
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

Add support for writing spreadsheets with cells containing rich text #29

Closed
edsko opened this issue Nov 11, 2015 · 2 comments
Closed

Add support for writing spreadsheets with cells containing rich text #29

edsko opened this issue Nov 11, 2015 · 2 comments

Comments

@edsko
Copy link
Contributor

edsko commented Nov 11, 2015

I'm working on a PR for this. Opening an issue so that you are aware it's in the works.

@edsko
Copy link
Contributor Author

edsko commented Nov 12, 2015

Ok, preliminary version of this is done; I've tried to keep the changes to the existing code minimal, so there are two completely new modules (https://github.com/edsko/xlsx/blob/pr/support-rich-text/src/Codec/Xlsx/SharedStringTable.hs and https://github.com/edsko/xlsx/blob/pr/support-rich-text/src/Codec/Xlsx/RichText.hs) and only a handful of changes to the rest, the main one being

data CellValue = CellText   Text
               | CellDouble Double
               | CellBool   Bool
               | CellRich   [RichTextRun]  -- This line is new
               deriving (Eq, Show)

I will submit this as a PR proper once I've used this a bit more, I'll probably end up polishing it a bit more.

@qrilka
Copy link
Owner

qrilka commented Nov 30, 2015

closed by #36

@qrilka qrilka closed this as completed Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants