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

Wrap Text #14

Open
ndrogers opened this issue Feb 26, 2020 · 3 comments
Open

Wrap Text #14

ndrogers opened this issue Feb 26, 2020 · 3 comments

Comments

@ndrogers
Copy link
Collaborator

ndrogers commented Feb 26, 2020

Options should be added to allow the user to set the wrap text property to a range.

Wrap text requires the same extension to cellXfs XML generation found in StyleXML. See #15

@ndrogers
Copy link
Collaborator Author

ndrogers commented Feb 26, 2020

@PaulMansour @mkromberg
Wrap text is solved, however I have questions on the design for the API.

WrapText could be a boolean property for range namespaces. My idea is that the user can set a scalar, or a boolean vector, or boolean matrix , like how the current style settings work.

r1.WrapText1  all cells will wrap text
r2.WrapText1 0 0 0 1 0  columns 1 and 5 will wrap text for a 6 column range
r3.WrapText 6 61 0 0 0 1 0  columns 1 and 5 will wrap text for a 6x6 range

Is this sufficient, or are there other factors to consider with wrap text?

@ndrogers ndrogers mentioned this issue Feb 26, 2020
@PaulMansour
Copy link
Contributor

That's fine. That's all one does in the Excel object model. In fact less, as I think you can only set WrapText to 1 for a entire range, not for individual cells within a range.

@ndrogers
Copy link
Collaborator Author

#15 has been updated with relevant information pertaining to this issue.

Attributes added, in testing.

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