Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Reset all paragraph style from another document

Hi to all, i want to write a macro that reset all the paragraph style in a writer document to a specific format. The "good" format is stored in a given file, let's say that this file has a stile "foo" with some property that is child of "bar" style.

I have then another writer file, if this file has no foo and bar style, they get imported as they are from the first document. If they are present but with different properties or parent-child structure, they are forced exactly as the first file.

How can i do that? Any hints?