private boolean verifyReferenceImage( byte[] referenceBytes ) throws com.sun.star.uno.Exception, java.lang.Exception
{
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 );