How to set cell alignment using Excel Buffer from Nav2013?

radek.bbradek.bb Member Posts: 49
edited 2013-07-25 in NAV Three Tier
New Excel Buffer is using CellDecorator class to set font, fill and borders.
But where cell alignment fit here?
The closest one would be the font - but I don't think it is part of this class.

In the list of classes there is DocumentFormat.OpenXml.Spreadsheet.Alignment but I am not sure how I can use it with Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.WorksheetWriter which is how table 370 is updating spreadsheet.

I am guessing that WorksheetWriter's property Worksheet could offer some way - but once again - starting from class DocumentFormat.OpenXml.Spreadsheet.Worksheet there is no obvious connection to Alignment class.

Any suggestions?
Sign In or Register to comment.