Why does writer create automatic styles for every new element?

A simple solution - my method - is to merely type whatever then add
whatever options as I go along;
            this saves time in that I know what's what.

       If you set these templates, then decide that the title should be
smaller, or wish to set off some quote, or add some footnote, ... ... ...
then you're stuck with whatever the template wants.

       I basically did/do the same thing when writing HTML - in fact, now,
I have quite a lengthy page of HTML code which I apply whenever necessary -
sure saves time having to remember what's what.

       Just some thoughts from the KIS corner :wink:

Hi!

Hi,

thanks for the answers so far, however my question isn't answered yet.

@Tom: Well, it's also my plan to stick to using styles. The problem here is not the odt-format itself, but it's the somewhat "messy" implementation in LibreOffice. As I said, when manually removing direct formatting (which hasn't been applied anyway) I get

<text:p text:style-name="Title">This is my title</text:p>
<text:p text:style-name="Text_20_body">This is a text body paragraph.</text:p>

in "content.xml", which is straight and clean odt-formatting. However, my trouble is the default behaviour of LibreOffice, that it defines all those styles "P1", "P2", "T1", ... which are apparently perfectly meaningless and unnecessary.

So, who knows how to get rid of this overhead by default? Or should this be considered a bug?

Cheers,
Holger

Hi :slight_smile:
Bug report time! :)  I think it would be good to see documents get lighter
https://wiki.documentfoundation.org/BugReport

They already compare favourably with documents produced by other office suites but even lighter than that would be great
Regards from

Tom :slight_smile:

Hi :slight_smile:
Wow, there is a lot of detail in that 1st post but it's still looks like a good bug-report to me.  The main gist is very clear very quickly and then the rest of the post just supports that.  So, it's a good post.

Of course QA triagers are a bit "snowed under" at the moment and could probably use a hand if anyone is "up for" joining in with them.  No coding skills required although you might learn odd little bits (or even massive amounts if you are up for it) by joining in with them.

Although they might not get around to it any time soon it is good to know that the report is there for people to notice sometime in the future.  it might grab a devs attention some day.  Hopefully before it becomes urgent. 
Regards from
Tom :slight_smile:

Done, bug reported at
https://bugs.freedesktop.org/show_bug.cgi?id=68183

Holger