[OfficeUtils] Is it possible to set custom word layout settings

Forge Component
Published on 2017-04-26 by Elena Novozhilova
24 votes
Published on 2017-04-26 by Elena Novozhilova

Hi, we've been using the office utils functionality to successfully generate word documents from an uploaded "template".  We're trying to generate documents from a "template" (just to be clear we're using a .docx rather than .dotx file as the base document) where we're customized the margins and header and footer settings.  The generated document is defaulting back to standard word values rather than observing our custom settings - is there a way we can control this behaviour?

Cheers, Jason

Hi Jason,

I'm not sure if this is the same problem I had, or if it is still a problem at all :) 

I was looking for a solution for sometthing similar to this problem. What worked for me is to apply the current style from the template you are creating, to the default settings in Word. See attached image:

Hope this helps!