Hi,
Hi Ulf,
Thanks for your post.
Could you please provide a sample Excel Workbook demonstrating the issue? Such sample file would really be helpful in order to reproduce and further investigate the issue on our side.
Kind Regards
Hi,
Hi Ulf,
Thanks for providing the sample file.
Based on this sample file, we were able to reproduce the issue. We have logged this issue in our Issue Tracking System as 19805. We will update you about the further proceedings regarding this issue as this thread has been linked with the said issue.
Kind Regards
Hi,
Please try the new fix V2.4.0.3 (attached), we have fixed the issue of
border.<o:p></o:p>
Thank you.
Hi,
Hi,
After further investigation, I am afraid it is a bug of the Google Chrome. Even opening the generated html file by MS Excel itself, the borders are invisible in Google Chrome, you may confirm it.
Thank you
Hi,
Hi again,
Hi,
Well, if the thicker borders give the result you required, we think you can set the border line type as MEDIUM, THICK or DOUBLE.
Thank you.
Hi,
Well, it is sure that the borders will be set for all cells by your code. To change the border type of the existing borders, your code should be changed a bit like the following:
...
if(style.getBorderLine(BorderType.TOP) != BorderLineType.NONE)
{
style.setBorderLine(BorderType.TOP, BorderLineType.MEDIUM);
}
...
Hi,
Hi Ulf,
We are looking into your issue regarding border’s color. We will update you once we figure out your issue.
Thank you.
Hi,
After checking the borders in your template file, we found
that those cells that have white borders only have TOP and LEFT borders. But
your code will add RIGHT and BOTTOM borders for them and because there is no custom
colors for the newly added RIGHT and BOTTOM borders, so they will use the default
color, that is black. And being different from IE, it seems that google chrome
will use the RIGHT and BOTTOM borders of one cell to overlap the TOP and LEFT
borders of the prior cell. So in google chrome, the borders will be shown as black.
If you change your code as what we suggested in the previous reply, the generated
html file will be ok in google chrome.
Thank you.
Thank you so much!
The issues you have found earlier (filed as 19823) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.