[api-dev] [Fwd: BasicAddOnBuilder question]

2010-01-14 Thread Alan Yaniger
---BeginMessage--- Hi Paolo, I use your BasicAddOnBuilder with no problems. However, as user had reported that when she gets to the Add License window, all the options are inactive, and she can't enter a license. Can you guess what the problem is? Thanks, Alan Yaniger ---End Message

[api-dev] How to copy all properties from a style

2009-10-20 Thread Alan Yaniger
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 =

Re: [api-dev] How to copy all properties from a style

2009-10-20 Thread Alan Yaniger
Hi Bernard, Thank you very much for your help. Alan Bernard Marcelly wrote: Hi Alan, newStyle.ParentStyle = oldStyle.Name oStyles.insertByName(myNewStyle, newStyle) Regards Bernard Message de Alan Yaniger date 2009-10-20 12:58 : oFamilies = ThisComponent.StyleFamilies oStyles