BF [ 1673542 ] Can't add static image in report table cell
This commit is contained in:
parent
26d3557734
commit
579de45d1e
|
@ -1523,7 +1523,7 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
{
|
{
|
||||||
MPrintFormatItem item = format.getItem(c);
|
MPrintFormatItem item = format.getItem(c);
|
||||||
Object dataElement = null;
|
Object dataElement = null;
|
||||||
if (item.isPrinted() && item.getAD_Column_ID() > 0) // Text Columns
|
if (item.isPrinted()) // Text Columns
|
||||||
{
|
{
|
||||||
if (item.isTypePrintFormat())
|
if (item.isTypePrintFormat())
|
||||||
{
|
{
|
||||||
|
@ -1533,7 +1533,9 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
{
|
{
|
||||||
if (item.isImageField())
|
if (item.isImageField())
|
||||||
{
|
{
|
||||||
Object obj = printData.getNode(new Integer(item.getAD_Column_ID()));
|
Object obj = null;
|
||||||
|
if (item.getAD_Column_ID() > 0) // teo_sarca, [ 1673542 ]
|
||||||
|
obj = printData.getNode(new Integer(item.getAD_Column_ID()));
|
||||||
if (obj == null)
|
if (obj == null)
|
||||||
;
|
;
|
||||||
else if (obj instanceof PrintDataElement)
|
else if (obj instanceof PrintDataElement)
|
||||||
|
@ -1559,7 +1561,9 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
}
|
}
|
||||||
else if (item.isBarcode())
|
else if (item.isBarcode())
|
||||||
{
|
{
|
||||||
Object obj = printData.getNode(new Integer(item.getAD_Column_ID()));
|
Object obj = null;
|
||||||
|
if (item.getAD_Column_ID() > 0) // teo_sarca, [ 1673542 ]
|
||||||
|
obj = printData.getNode(new Integer(item.getAD_Column_ID()));
|
||||||
if (obj == null)
|
if (obj == null)
|
||||||
;
|
;
|
||||||
else if (obj instanceof PrintDataElement)
|
else if (obj instanceof PrintDataElement)
|
||||||
|
@ -1582,7 +1586,9 @@ public class LayoutEngine implements Pageable, Printable, Doc
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Object obj = printData.getNode(new Integer(item.getAD_Column_ID()));
|
Object obj = null;
|
||||||
|
if (item.getAD_Column_ID() > 0) // teo_sarca, [ 1673542 ]
|
||||||
|
obj = printData.getNode(new Integer(item.getAD_Column_ID()));
|
||||||
if (obj == null)
|
if (obj == null)
|
||||||
;
|
;
|
||||||
else if (obj instanceof PrintDataElement)
|
else if (obj instanceof PrintDataElement)
|
||||||
|
|
Loading…
Reference in New Issue