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.

com.sun.star.drawing.RectangleShape 
com.sun.star.drawing.CustomShape 
com.sun.star.drawing.EllipseShape 
com.sun.star.drawing.ControlShape 
com.sun.star.drawing.ConnectorShape 
com.sun.star.drawing.MeasureShape 
com.sun.star.drawing.LineShape 
com.sun.star.drawing.PolyPolygonShape 
com.sun.star.drawing.PolyLineShape 
com.sun.star.drawing.OpenBezierShape 
 com.sun.star.drawing.ClosedBezierShape 
 com.sun.star.drawing.OpenFreeHandShape 
 com.sun.star.drawing.ClosedFreeHandShape 
 com.sun.star.drawing.PolyPolygonPathShape 
 com.sun.star.drawing.PolyLinePathShape 
 com.sun.star.drawing.GraphicObjectShape 
 com.sun.star.drawing.GroupShape 
 com.ibm.productivity.tools.drawing.Table 
 com.sun.star.drawing.TextShape 
 com.sun.star.drawing.OLE2Shape 
 com.sun.star.drawing.PageShape 
 com.sun.star.drawing.CaptionShape 
 com.sun.star.drawing.FrameShape 
 com.sun.star.drawing.PluginShape 
 com.sun.star.drawing.AppletShape 
 com.sun.star.drawing.Shape3DSceneObject 
 com.sun.star.drawing.Shape3DCubeObject 
 com.sun.star.drawing.Shape3DSphereObject 
 com.sun.star.drawing.Shape3DLatheObject 
 com.sun.star.drawing.Shape3DExtrudeObject 
 com.sun.star.drawing.Shape3DPolygonObject 
 com.sun.star.form.component.TextField 
 com.sun.star.form.component.Form 
 com.sun.star.form.component.ListBox 
 com.sun.star.form.component.ComboBox 
 com.sun.star.form.component.RadioButton 
 com.sun.star.form.component.GroupBox 
 com.sun.star.form.component.FixedText 
 com.sun.star.form.component.CommandButton 
 com.sun.star.form.component.CheckBox 
 com.sun.star.form.component.GridControl 
 com.sun.star.form.component.ImageButton 
 com.sun.star.form.component.FileControl 
 com.sun.star.form.component.TimeField 
 com.sun.star.form.component.DateField 
 com.sun.star.form.component.NumericField 
 com.sun.star.form.component.CurrencyField 
 com.sun.star.form.component.PatternField 
 com.sun.star.form.component.HiddenControl 
 com.sun.star.form.component.DatabaseImageControl 
 com.sun.star.drawing.DashTable 
 com.sun.star.drawing.GradientTable 
 com.sun.star.drawing.HatchTable 
 com.sun.star.drawing.BitmapTable 
 com.sun.star.drawing.TransparencyGradientTable 
 com.sun.star.drawing.MarkerTable 
 com.sun.star.text.NumberingRules 
 com.sun.star.drawing.Background 
 com.sun.star.document.Settings 
 com.sun.star.style.Style 
 com.sun.star.image.ImageMapRectangleObject 
 com.sun.star.image.ImageMapCircleObject 
 com.sun.star.image.ImageMapPolygonObject 
 com.sun.star.xml.NamespaceMap 
 com.sun.star.document.ExportGraphicObjectResolver 
 com.sun.star.document.ImportGraphicObjectResolver 
 com.sun.star.document.ExportEmbeddedObjectResolver 
 com.sun.star.document.ImportEmbeddedObjectResolver 
 com.sun.star.presentation.TitleTextShape 
 com.sun.star.presentation.OutlinerShape 
 com.sun.star.presentation.SubtitleShape 
 com.sun.star.presentation.GraphicObjectShape 
 com.sun.star.presentation.ChartShape 
 com.sun.star.presentation.PageShape 
 com.sun.star.presentation.OLE2Shape 
 com.sun.star.presentation.TableShape 
 com.sun.star.presentation.OrgChartShape 
 com.sun.star.presentation.NotesShape 
 com.sun.star.presentation.HandoutShape 
 com.sun.star.presentation.DocumentSettings 


So how do I get hold of Paragraph and add Bulleting and Numbering. Is 
there any other way of adding Bullets and Numbering to the text ?

Thanks in advance. 

Thanks and Regards

Mahesh Reddy N
IBM India Pvt Ltd
Fortius Block, 2 nd Floor,
Bangalore.
Desk Ph : 080-22670333
Email: [email protected]

Reply via email to