XPropertySet xImageModel = getControlModel( "f_blob" );
// check if the image control properly says that there currently is no image on the first record
XImageProducerSupplier xSuppProducer = (XImageProducerSupplier)UnoRuntime.queryInterface( XImageProducerSupplier.class,
xImageModel );
XImageProducer xProducer = xSuppProducer.getImageProducer();
ImageComparison compareImages = new ImageComparison( referenceBytes, this );
synchronized( this )
{
xProducer.addConsumer( compareImages );
xProducer.startProduction();
// wait();
}
xProducer.removeConsumer( compareImages );
return compareImages.imagesEqual( );
}