Apache OpenOffice (AOO) Bugzilla – Issue 87914
Add option to keep non-<BODY> data in writer - web
Last modified: 2013-02-07 22:36:28 UTC
I like very much the possibility to edit html with writer. I have tons of html pages to deal with at the moment. As already described in many, many issues filed and closed, writer/web has its own issues on dealing with CSS styles. The main purpose of this issue is to suggest an option for writer /web to keep non-<body> data untouched. in this example, I have the following <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="BrOffice.org 2.4 (Linux)"> <META NAME="AUTHOR" CONTENT="Olivier Hallot"> <META NAME="CREATED" CONTENT="20080404;10401700"> <META NAME="CHANGED" CONTENT="20080404;17122600"> <META NAME="CHANGEDBY" CONTENT="Olivier Hallot"> <link type="text/css" rel="stylesheet" href="../../_css/hlp.css"> <SCRIPT SRC="../../dwr/engine.js"></SCRIPT> <SCRIPT SRC="../../_js/SGIWin.js"></SCRIPT> <SCRIPT> function INIT_win() { gbl_objWin.setTitulo("Ajuda"); gbl_objWin.setTopLeft(50,250); } </SCRIPT> </HEAD> After editing the file, the style link is gone: <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="BrOffice.org 2.4 (Linux)"> <META NAME="CREATED" CONTENT="0;0"> <META NAME="CHANGED" CONTENT="20080404;15252500"> <META NAME="CHANGEDBY" CONTENT="Olivier Hallot"> <SCRIPT SRC="../../dwr/engine.js"></SCRIPT> <SCRIPT SRC="../../_js/SGIWin.js"></SCRIPT> <SCRIPT> function INIT_win() { gbl_objWin.setTitulo("Ajuda"); gbl_objWin.setTopLeft(50,250); } </SCRIPT> </HEAD> This has been reported many times since the early days of OO and was repeatedly closed with no solution. If I have an option to make writer NOT mess with <HEAD> that will help me to do my job as I will be able to control the style externally. At this moment I just want writer to generate text and default html tags with tidy as it does now, to be controlled by the external css. It will be an option in Tools-Writer/Web such as: "Preserve non-<body> content" or "Keep <head> as loaded" Thanks Olivier
Reassigned to requirements.
Marking as "Enhancement".