{
XEnumeration xEnum = _xFromSection.createEnumeration();
while (xEnum.hasMoreElements())
{
Object aEnumObj = xEnum.nextElement();
XReportComponent aComponent = (XReportComponent) UnoRuntime.queryInterface(XReportComponent.class, aEnumObj);
// XCloneable aClone = (XCloneable)UnoRuntime.queryInterface(XCloneable.class, aEnumObj);
if (aComponent != null)
{
Object aClone = aComponent.createClone();
if (aClone != null)
{
String sName = aComponent.getName();
com.sun.star.awt.Point aPosition = aComponent.getPosition();
Size aSize = aComponent.getSize();
XShape aShape = (XShape) UnoRuntime.queryInterface(XShape.class, aClone);
String sShapeType = aShape.getShapeType();
com.sun.star.awt.Point aShapePoint = aShape.getPosition();
Size aShapeSize = aShape.getSize();