Slides 2.7 seems to ignore table border information


Hi,

Shapes.addTable
Table.setBorders
seem to ignore borderWidth and borderColor.
I checked it with slides.2.5. It works on 2.5.

Is it possible to get fix or workaround?


Regards,

Hi
Leonid,


I have tried to understand the issue shared by you. It will be really helpful if you may please provide the sample code snippet to us for further investigation.

Many Thanks,
Table table = mySlide.getShapes()
.addTable(xPosition, yPosition, tableWidth, tableHeight, columns, rows, 1.0/*borderWidth*/, colorWhite/*rgb-255,255,255*/);

table.setBorders(1.0/*borderWidth*/, colorWhite/*rgb-255,255,255*/);

Hi Leonid,


I like to share that the similar issue with borders has already been observed in Aspose.Slides for Java 2.7.0 and an issue with ID 32116 has already been added in our issue tracking system. This thread has also been linked with the issue so that you may be automatically notified once the issue is resolved.

We are sorry for your inconvenience,

Hi,


The issue of table borders is quite critical and urgent.
1) When do you plan to have solution for that?
2) Is any workaround available? I on my side tried with no much success to arrange border to each cell “personally” in code like this:

table.setBorders((float)2,java.awt.Color.BLACK);
CellBorder bottom= table.getCell(i,j).getBorderBottom();

java.util.Iterator iterator=bottom.iterator();
while (iterator.hasNext()) {
com.aspose.slides.Line line =(com.aspose.slides.Line) (iterator.next());
line.getLineFormat().setShowLines(true);
line.getLineFormat().setWidth(2);
line.getLineFormat().setDashStyle(LineDashStyle.SOLID);
line.getLineFormat().setStyle(LineStyle.SINGLE);
line.getLineFormat().setForeColor(java.awt.Color.BLACK);
}




Hi Leonid,


I regret to share that currently work around for this is unavailable. However, I have requested our development team about plans for the issue and will share that with you as soon as it is shared by them.

We are sorry for your inconvenience,