Hi Mahesh,
Mahesh Reddy wrote (14-02-10 16:32)
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.
I have no experience with Jave code for this. But did some bullets for
Impress in OOoBasic. That might give you a pointer.
If oDrawPage.getByIndex(j).ImplementationName = "SvxShapeText" Then
' enumerate over the elements of the frame
eNum = oDrawPage.getByIndex(j).createEnumeration
Do while eNum.HasMoreElements()
oAObj = eNum.nextElement()
' next line works for OOo version 3.x
'oAObj.NumberingIsNumber = True
' next line works for OOo version 2.x
oAObj.IsNumbering = True
Loop
End If
So if there is an object of the SvxShapaText on the drawpage, it is a
frame with bulleted/numbered items, lines. The lines can be found as
elements of the shapes.
If you look via the GUI, in View|Master|Slide master you enter the view
where the properties of the various outline levels can be set.
So if you want to create styles, you should look for a way to create
masterpages, IMO.
HTH,
& best regards,
Cor
--
>> Your office 2010 software: the new OpenOffice.org <<
Cor Nouws
- ideas/remarks for the community council?
- http://wiki.services.openoffice.org/wiki/Community_Council
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]