[OfficeUtils] Additional spacing inserted

[OfficeUtils] Additional spacing inserted

  
Forge Component
(21)
Published on 2017-04-26 by Elena Novozhilova
21 votes
Published on 2017-04-26 by Elena Novozhilova

Has anyone had a problem when using Word and additional spacing being added within the lines of a paragraph? It's causing us an issue as a document that should fit on one page is growing to need 2 pages.

I have even compared the document.xml of the original and the produced document and can't see any difference in spacing values. It's very strange.

Hi Trish,

Can you provide your template and result document?

Which stack are you using?

Best regards,

Elena

Hi Elena

We're using the .Net stack.

I'm attaching 2 documents, TemplateLetter.docx and ProducedLetter.docx. The spacing difference is small, but is within para spacing and adds up to make a bigger difference across the whole document.

Thanks 

Trish

And the produced letter ....

Hi Elena

Any ideas on this?

Trish

Hi Trish,

This is a bit of a long shot, but what worked for me is to click the "Set as Default" button on the Design Tab in Word before uploading the template as an OutSystems resource. (see image). There's also the button to remove all paragraph spacing above it.(above " effects" )

Hope it helps!