Expanding text from right to left while exporting Excel file to HTML with Golang via C++

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 file looks in Microsoft Excel 2013.

todo:image_alt_text

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

todo:image_alt_text

This screenshot shows the output HTML generated with the 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.