Skip to content

Header/Footer Font styling #1834

Open
Open
@OssianEPPlus

Description

@OssianEPPlus

In the current implementation of HeaderFooter users must apply formatting codes themselves rather use the Font and or RichText style pattern used everywhere else. If possible we may want to have the interface be the same as elsewhere in Epplus.

Basically instead of having the user input
worksheet.HeaderFooter.OddHeader.CenteredText = "&24&U&\"Arial,Regular Bold\" Inventory";
It would be nice and more intuitive if one could do something like:
worksheet.HeaderFooter.OddHeader.CenteredText.Font.Bold = True;
worksheet.HeaderFooter.OddHeader.CenteredText.Font.Size = 24;
worksheet.HeaderFooter.OddHeader.CenteredText.Text = "Inventory";

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Pending Release

Relationships

None yet

Development

No branches or pull requests

Issue actions