Check that the e crop bounds are defined in consistent manner. This is needed
since in old installations the max parameters can be larger than min ones.
*/
private void checkCropBounds() {
ODMGXAWrapper txw = new ODMGXAWrapper();
if ( cropMaxX - cropMinX <= 0) {
txw.lock( this, Transaction.WRITE );
cropMaxX = 1.0 - cropMinX;
}
if ( cropMaxY - cropMinY <= 0) {
txw.lock( this, Transaction.WRITE );
cropMaxY = 1.0 - cropMinY;
}
txw.commit();
}