Object oEmbObj = xShapeProps.getPropertyValue( "EmbeddedObject" );
XEmbeddedObject xEmbObj = ( XEmbeddedObject ) UnoRuntime.queryInterface( XEmbeddedObject.class, oEmbObj ); if ( xEmbObj == null )
{
m_aTestHelper.Error( "Embedded object can not be accessed!" ); returnfalse;
}
XEmbeddedClient xClient = xEmbObj.getClientSite(); if ( xClient == null )
{
m_aTestHelper.Error( "The client for the object must be set!" ); returnfalse;
}
Object oReplacement = xShapeProps.getPropertyValue( "Graphic" );
XGraphic xReplGraph = ( XGraphic ) UnoRuntime.queryInterface( XGraphic.class, oReplacement ); if ( xReplGraph == null )
{
m_aTestHelper.Error( "The replacement graphic should be available!" ); returnfalse;
}
returntrue;
} catch( Exception e )
{
m_aTestHelper.Error( "Exception: " + e ); returnfalse;
}
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.