the-carlisle-group/APL2XL

Wrap Text

ndrogers opened this issue · 3 comments

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

@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?

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.

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

Attributes added, in testing.