Issue 87914 - Add option to keep non-<BODY> data in writer - web
Summary: Add option to keep non-<BODY> data in writer - web
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 13:41 UTC by ohallot
Modified: 2013-02-07 22:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ohallot 2008-04-05 13:41:34 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
Comment 1 michael.ruess 2008-04-07 13:18:07 UTC
Reassigned to requirements.
Comment 2 michael.ruess 2008-04-07 13:19:06 UTC
Marking as "Enhancement".