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

Per column (property) and per document (class) formatting #12

Open
jordangray opened this issue Jan 18, 2014 · 1 comment
Open

Per column (property) and per document (class) formatting #12

jordangray opened this issue Jan 18, 2014 · 1 comment
Assignees

Comments

@jordangray
Copy link
Member

Consider options for adding per column and per document formatting. Can't use a lambda in the attribute, so would require declarative syntax somewhere or choosing what formatting options to allow and adding them to ExcelAttribute.

@ghost ghost assigned jordangray Jan 18, 2014
@jordangray
Copy link
Member Author

Idea: add classes (e.g. ExcelColumnFormat, ExcelDocumentFormat) which provide appropriate properties corresponding to various formatting options; these can be subclassed, and the type can be passed as an argument to the corresponding attributes:

[ExcelDocument(format=typeof(FinancialReportFormat)]

Personally, this seems like the most elegant way of extending the formatting options provided to the maximum degree possible while retaining the current practice of decorating classes with attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant