Expanding text from right to left while exporting Excel file to HTML

Expanding text from right to left while exporting Excel file to HTML

The following sample code converts the sample Excel file into HTML. This screenshot shows how the sample Excel looks in Microsoft Excel 2013.

todo:image_alt_text

This screenshot shows the output HTML generated with an older version.

todo:image_alt_text

This screenshot shows the output HTML generated with a newer version.

todo:image_alt_text

As you can see in the screenshots, the newer version expands the right‑aligned text to the left correctly, just like Microsoft Excel.