Aspose cells for java, get cell border type as string

Hello,
I am using aspose cells for java.
How do I get the cell border type as String rather than as integer?
I get it as 0,1,2, 5 etc.
I would like to get it as Thin, Thick, None, etc.
So it is more easily understood.
Thanks,
Shashi.

@shashimn,
Thank you for your query. I am afraid that no builtin option is available to get this string. You may write your own function which gets enum value and returns a string as desired.

Ok. Thanks for your response.
Also I would like to get the Cell Alignment (cell.getStyle().getHorizontalAlignment()) as a String , instead of number. Is there a helper class or something in Aspose library for that already ?

Regards,
Shashi.

@shashimn,

No, there is no such helper class in Aspose.Cells for Java APIs. As we told you have to write your own code to match each integer value with respective string accordingly.