You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, when I create a new document via JS which contains 4 tables per page with some paragraphs inside the cells and apply the Heading1 style from styles.xml to the paragraphs, instead of Calibri, font Cambria is being applied.
Any help as to why this might be happening will be greatly appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am successfully reading styles.xml as explained in Styling with XML and I am placing the styles into the Document object constructor.
In my file there is the following style:
majorHAnsi is defined inside theme1.xml as
Now, when I create a new document via JS which contains 4 tables per page with some paragraphs inside the cells and apply the Heading1 style from styles.xml to the paragraphs, instead of Calibri, font Cambria is being applied.
Any help as to why this might be happening will be greatly appreciated.
Thanks
The text was updated successfully, but these errors were encountered: