Add TextStyle offsets getters to API.

The other properties getters are in the API already.
Merge pull request #2677 from gberaudo/export_text_style_offsets

Add TextStyle offsets getters to API.