Hi, After showing the colorfull changing presentation I forgot to show how pyuno represent a text box object (print object, only one): -------- pyuno object (com.sun.star.drawing.XShape)0x90e171c{implementationName=SvxShapeText, supportedServices={com.sun.star.drawing.CustomShape,com.sun.star.drawing.Shape,com.sun.star.drawing.CustomShapeProperties,com.sun.star.drawing.FillProperties,com.sun.star.drawing.LineProperties,com.sun.star.drawing.Text,com.sun.star.drawing.TextProperties,com.sun.star.style.ParagraphProperties,com.sun.star.style.ParagraphPropertiesComplex,com.sun.star.style.ParagraphPropertiesAsian,com.sun.star.style.CharacterProperties,com.sun.star.style.CharacterPropertiesComplex,com.sun.star.style.CharacterPropertiesAsian,com.sun.star.presentation.Shape,com.sun.star.document.LinkTarget}, supportedInterfaces={com.sun.star.drawing.XShape,com.sun.star.lang.XComponent,com.sun.star.beans.XPropertySet,com.sun.star.beans.XMultiPropertySet,com.sun.star.beans.XPropertyState,com.sun.star.beans.XMultiPropertyStates,com.sun.star.drawing.XGluePointsSupplier,com.sun.star.container.XChild,com.sun.star.lang.XServiceInfo,com.sun.star.lang.XTypeProvider,com.sun.star.lang.XUnoTunnel,com.sun.star.container.XNamed,com.sun.star.text.XText,com.sun.star.container.XEnumerationAccess,com.sun.star.text.XTextRangeMover,com.sun.star.drawing.XEnhancedCustomShapeDefaulter,com.sun.star.lang.XTypeProvider}} --------
You can "easily" see the supportedServices and the supportedInterfaces. Cheers, has been a very nice evening, -- Carles Pina i Estany http://pinux.info _______________________________________________ python-uk mailing list python-uk@python.org http://mail.python.org/mailman/listinfo/python-uk