Hello,

I have a Python-Uno program working together with OO Impress slide.

Some months ago I needed a GetByName method to get some object from
com.sun.star.drawing.XDrawPage. I didn't fine the way and I implemented
some slow algorithm using some iteration and GetByIndex(i).GetByName()

Last days in other situations I have had a problem with it, and the
question is: is there any way to get an object from drawing.XDrawPage
that is not GetByIndex?

I am sure that there is some better way and I don't fine the way.

I copy-paste the object and interfaces here:
pyuno object
(com.sun.star.drawing.XDrawPage)0x82d071c{implementationName=SdDrawPage,
supportedServices={com.sun.star.drawing.ShapeCollection,com.sun.star.drawing.GenericDrawPage,com.sun.star.document.LinkTarget,com.sun.star.document.LinkTargetSupplier,com.sun.star.drawing.DrawPage,com.sun.star.presentation.DrawPage},
supportedInterfaces={com.sun.star.drawing.XDrawPage,com.sun.star.beans.XPropertySet,com.sun.star.container.XNamed,com.sun.star.drawing.XMasterPageTarget,com.sun.star.lang.XServiceInfo,com.sun.star.util.XReplaceable,com.sun.star.document.XLinkTargetSupplier,com.sun.star.drawing.XShapeCombiner,com.sun.star.drawing.XShapeBinder,com.sun.star.presentation.XPresentationPage,com.sun.star.animations.XAnimationNodeSupplier,com.sun.star.drawing.XDrawPage,com.sun.star.drawing.XShapeGrouper,com.sun.star.lang.XServiceInfo,com.sun.star.lang.XUnoTunnel,com.sun.star.lang.XComponent,com.sun.star.lang.XTypeProvider,com.sun.star.uno.XWeak,com.sun.star.uno.XAggregation,com.sun.star.form.XFormsSupplier}}

My apologies to not find... Some time ago I couldn't find it and a fast
search now either :(

Thank you very much,

-- 
Carles Pina i Estany            GPG id: 0x8CBDAE64
        http://pinux.info       Manresa - Barcelona

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to