Re: [api-dev] How to find the Default paragraph style

2009-06-13 Thread Andrew Douglas Pitonyak
Thanks Bernard... I will change my code to use the display name rather than the internal name. Bernard Marcelly wrote: Hi Andrew, A style has an internal name and a localized display name. A custom style has the same internal name and display name. snip -- Andrew Pitonyak My Macro

Re: [api-dev] How to find the Default paragraph style

2009-06-12 Thread Bernard Marcelly
Hi Andrew, A style has an internal name and a localized display name. A custom style has the same internal name and display name. Built-in styles may have a display name different from the internal name. The built-in paragraph style with internal name : Standard has a display name Default in

[api-dev] How to find the Default paragraph style

2009-06-11 Thread Andrew Douglas Pitonyak
I want to know the name of the Default paragraph style. I would also like to find the Default paragraph style. I am using en language in the USA. Consider code such as the following: oStyles = oDoc.StyleFamilies.getByName(ParagraphStyles) sss = Default sss = Standard If