Hi :) I find it easier to stick to using styles and then sometimes edit the styles as a i go along.
I don't know of any format that doesn't throw in tons of extra formatting. Rtf is probably the one with the least extra random bits of unused code but it's a legacy format that is out dated already. Have you compared with the coding in other formats? I think Odt manages to a void a lot of the personal information that gets stored in Doc and DocX. I've not really looked at other formats much. Regards from Tom :) >________________________________ > From: anne-ology <lagin...@gmail.com> >To: Holger Schmithüsen <holger.schmithue...@awi.de> >Cc: users@global.libreoffice.org >Sent: Thursday, 15 August 2013, 19:27 >Subject: Re: [libreoffice-users] 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 ;-) > > > >On Thu, Aug 15, 2013 at 9:14 AM, Holger Schmithüsen < >holger.schmithue...@awi.de> wrote: > >Hi! >> >> When I create a new Writer document, each element I enter in the document >> (like a heading or paragraph) adds new elements to >> <office:automatic-styles> in "content.xml", even though I do not use any >> direct formatting. So, selecting style "Title", entering the title, then >> selecting "Text Body" and entering a paragraph creates the following >> automatic styles in "content.xml": >> >> <office:automatic-styles> >> <style:style style:name="P1" style:family="paragraph" >> style:parent-style-name="Text_**20_body"> >> <style:text-properties officeooo:paragraph-rsid="**00063317"/> >> </style:style> >> <style:style style:name="P2" style:family="paragraph" >> style:parent-style-name="**Title"> >> <style:text-properties officeooo:paragraph-rsid="**00063317"/> >> </style:style> >> <style:style style:name="T1" style:family="text"> >> <style:text-properties officeooo:rsid="00063317"/> >> </style:style> >> </office:automatic-styles> >> >> and the actual content: >> >> <office:body> >> <office:text> >> <text:p text:style-name="P2"><text:**span text:style-name="T1">This is my >> title</text:span></text:p> >> <text:p text:style-name="P1"><text:**span text:style-name="T1">This is a >> text body paragraph.</text:span></text:**p> >> </office:text> >> </office:body> >> >> Now, I can delete the unwanted direct formatting by clicking "Format - >> Clear direct formatting". Then, the content looks as nice and clean: >> >> <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> >> >> However, this removal of unnecessary direct formatting is not very >> appropriate, as I sometimes do have direct formatting (a subscript for >> instance). >> Is it possible to suppress Writer's behaviour of defining those >> meaningless automatic styles? And if not, is it possible to get rid of only >> the meaningless direct formatting, i.e. those <style:style> elements, that >> do not contain any formatting attributes? >> >> I'm using LibreOffice Version 4.0.3.3. >> >> Thanks for your help, >> Holger >> >> > >-- >To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org >Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ >Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette >List archive: http://listarchives.libreoffice.org/global/users/ >All messages sent to this list will be publicly archived and cannot be deleted > > > -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted