Bug 49101

Summary: html.stw (default HTML template) cleanup
Product: LibreOffice Reporter: Andras Timar <timar74>
Component: LibreofficeAssignee: István Túri <turipista>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: Master old -3.6   
Hardware: Other   
OS: All   
Whiteboard: EasyHack DifficultyEasy SkillCpp TopicCleanup target:3.7.0
i915 platform: i915 features:

Description Andras Timar 2012-04-24 01:59:11 UTC
Language dependent html.stw files live in extras/source/templates/wizard/desktop/lang/<language>/

(1) Why are they in old OpenOffice.org XML format, and not in OpenDocument?
(2) html.stw files are identical in en-US, de, es, eu, fr, hu, it, km, sv, vi. Maybe the differences in other languages are not important? Would it be possible to create a language independent html template that fits all? We could save some bytes in the install sets.

Code for this lives in sw/source/filter/html/swhtml.cxx, HTMLReader::GetTemplateName()

Language independent html.oth should be installed into share/template/common/.
Comment 1 Not Assigned 2012-08-16 15:45:19 UTC
Istvan Turi committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1b0f7ee1e04d7b0fe81f7458ae2116615e0f6889

idxexample.odt and html.stw cleanup (fdo#49101, fdo#49098)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.