2
Vote

Feature: consistent implementation for ReportStyle.Width

description

Currently, the HtmlReportWriter is the only writer that does anything with the ReportStyle.Width property. The PDF and Excel writers should implement functionality to allow users to specify the width. The functionality should be implemented in such a way that I don't have to set the width differently dependant on the format I'm exporting to.

comments

bnem wrote Jan 6, 2014 at 6:17 PM

I agree. I have been using the OpenXML code and setting the widths on my HeaderStyle's and DataStyle's and have not understood until now why the widths do not get sets on the columns. From looking at the source code, it appears that since the OpenXML piece relies so much on ClosedXML, it is not possible to do this with the OpenXML code until ClosedXML adds the properties in the IXLStyle/XLStyle code.