hello,
I'm creating a docx from a template by doing html transformations.Is there a way to set a font size for the whole document?
Thanks
Riccardo
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it nowhello,
I'm creating a docx from a template by doing html transformations.Is there a way to set a font size for the whole document?
Thanks
Riccardo
Hello,
UPDATE: You can set set the font size in each method (such as the fontSize option in addText), set the default size in the template or use the setDocumentDefaultStyles method.
When importing HTML a default font size is applied. Custom font sizes can be applied using CSS styles.
Regards.