Hi, Mahesh Reddy wrote:
> Hi, > I am trying to create Numbering and Bulleting styles and I am > using OO 1.1 SDK. I am using the following link as a reference > http://wiki.services.openoffice.org/w/index.php?title=Documentation/DevGuide/Text/Line_Numbering_and_Outline_Numbering > > > So I tried to create an Instance of Paragraph with xMultiServiceFactory > with the param "com.sun.star.text.Paragraph"(as per the UNO api > documentation), but I get a Service Not Available Exception. > > So I tried to List all the Services provided by xMultiServiceFactory and I > got the following list. Please note that com.sun.star.text.Paragraph is > not listed in the available services. (snip) The provided list lets me think that you are working on a presentation document, not a text document, while the documentation you are using refers to the latter. AFAIK a presentation document is not able to create a text paragraph through its XMultiServiceFactory interface. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[email protected]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
