| Summary: | Replace built-in STW templates with OTH generated from XML | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | LibreOffice | Assignee: | Laurent Balland <jumbo4444> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | heiko.tietze, jumbo4444 |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:25.2.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 103314 | ||
|
Description
Mike Kaganski
2024-05-19 10:28:21 UTC
The correct WEB document template extension is not OTT, but OTH. The code that creates the path of the template is HTMLReader::GetTemplateName (sw/source/filter/html/swhtml.cxx). It already tries to load OTH first (since commit 1ee901d4496b79d39fbffde8bce988a159dda74e), so the proposal would need no code changes beyond the way how the binary is generated and packaged. Laurent has gained some mastery in this area, though mostly for Impress (see README in https://gerrit.libreoffice.org/c/core/+/140537 and https://gerrit.libreoffice.org/c/core/+/137159 for the actual conversion). I want to finish update of Impress templates bug 160712 before LibO 24.8 beta1. Then this bug sounds interesting. Laurent Balland committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/c49da95942f456623e91ae1f5c1a68efd83fec6c tdf#161173 Replace HTML template and idxexample It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |