tuwien-csd / damap-backend

MIT License
5 stars 6 forks source link

Export: Add projectnameText placeholder #187

Closed ValentinFutterer closed 6 months ago

ValentinFutterer commented 6 months ago

Description

Bugfix

What does this PR do?

Adds a projectnametext placeholder to represent the projectname in the document text - the originla projectname placeholder is now only used in the title. This was necessary, since we downsize the fontsize of projectname, if it is too long. This should not affect the normal text. But in addition XWPF read the font size of the [projectname] placeholder in the text as -1, and subtracting -4 from it caused a fontsize underflow, leading to a font size of ~32000 :/

horizonEuropeTemplateChanges185.docx

Breaking changes

Template changes.

Checks

closes GH-185

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud