Re: Re: How to remove styles in Writer?

CPHennessy <[email protected]> Sat, 20 Aug 2005 16:23:39 +0100
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
On Friday 19 August 2005 11:13, Dave Pawson wrote:
> Hi Daniel, thanks for the quick reply.
>
> On 8/19/05, Daniel Carrera <[email protected]> wrote:
> > You can't delete the styles that come with OpenOffice.org (like Heading
> > styles). You can only delete custom styles (the ones you create). They
> > don't have to be derived styles at all btw.
>
> OK. Thanks.
>
> > You have have the Styles and Formatting window only display your custom
> > styles. So you don't have to see the ones that come with OOo.
>
> But that is not default, which means I have no means of restricting
> the available styles for an OOo installation? That is what I want,
> so I know the XML output to expect.
> My preference would be to  constrain the available styles
> to a fixed list (e.g. headings 1 to 6).
>
> So this isn't possible then?
> Any idea if I could modify code and rebuild Ooo/writer to do this?

Thats one possibility, but you may find that it is easier to provide a "Verify 
file before you save it option to validate the XML which would be produced. 

-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
				http://user-faq.openoffice.org/#FAQ