if (nType == DataType.BINARY ||
nType == DataType.VARBINARY ||
nType == DataType.LONGVARBINARY)
{
// aField = getMSFofReportDefinition().createInstance("com.sun.star.report.ImageControl");
final XImageControl xImageControl = (XImageControl) UnoRuntime.queryInterface(XImageControl.class, xReportControlModel);
if (xImageControl != null)
{
// xImageControl.setScaleImage(true);
xImageControl.setScaleMode(com.sun.star.awt.ImageScaleMode.Isotropic);
}
}
else
{
try