Skip to content

Commit 11486fc

Browse files
committed
Fixing the table headers.
1 parent 1ccab1e commit 11486fc

File tree

1 file changed

+1
-3
lines changed
  • eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Services/WordService

1 file changed

+1
-3
lines changed

eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Services/WordService/WordService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,7 @@ public async Task<OperationDataResult<Stream>> GenerateWordDashboard(List<Report
838838
{
839839
if (!string.IsNullOrEmpty(reportEformModel.GroupTagName))
840840
{
841-
itemsHtml.Append($@"<h1>{Regex.Replace(reportEformModel.GroupTagName, @"\. ", ".")}</h1>");
842-
// We do this, even thought some would look at it and find it looking stupid. But if we don't do it,
843-
// Word WILL mess up the header titles, because it thinks it needs to fix the number order.
841+
itemsHtml.Append($@"<p style='font-size:20px;text-align:left;font-weight:700;'>{reportEformModel.GroupTagName}</p>");
844842
}
845843

846844
foreach (var groupeForm in reportEformModel.GroupEform)

0 commit comments

Comments
 (0)