Okay, I searched from Google and found this post. Looks like I have to create a text fragment with textAlign = 'right' and then set that as the cell's value.
https://www.phpdocx.com/en/forum/default/topic/658
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now