Hi,
Yes I am working on presentation document. Ultimately I need to
create Bulleting and Numbering styles in Presentation Document.
So if XMultiServiceFactory doesn't allow me to create Paragraph, then how
do I create apply Bulleting and Numbering Styles. Is there any alternate
way of doing this ?
Any help would be greatly appreciated.
Thanks and Regards
Mahesh Reddy N
IBM India Pvt Ltd
Fortius Block, 2 nd Floor,
Bangalore.
Desk Ph : 080-22670333
Email: [email protected]
Mathias Bauer <[email protected]>
11/02/2010 13:44
Please respond to
[email protected]
To
[email protected]
cc
Subject
Re: [api-dev] Add Bulleting and Numbering style.
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]