Hi list-members,

I'm interested in duplicating a Writer paragraph style.

If I have the following code,

         ...

oFamilies = ThisComponent.StyleFamilies
oStyles = oFamilies.getByName("ParagraphStyles")
oldStyle = oStyles.getByIndex(1)

newStyle = ThisComponent.createInstance("com.sun.star.style.ParagraphStyle")


How do I assign to "newStyle" all the properties of "oldStyle"?


Thanks,

Alan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to