Hi Everyone,
I'm currently doing a really simple mergeField substitution in a DOC file and then saving it as a DOCX file. I find that when I perform a substitution for the given merge field (in C#), the LeftMargin property of the 'CurrentParagraph' (after the jump to the field but before the insertion) has a LeftMargin property value of 0. Within my original template, the LeftMargin is not equal to zero. As a result, the saved file now has the LeftMargin set to zero and the original indendentation is lost for subsequent paragraphs. If I set the LeftMargin property of the current paragraph to a number programmatically, it saves the change and the indentation results. I would much rather it correctly identify and maintain the original LeftMargin properties set in the template.
How do I maintain the original LeftMargins set in the template for a given paragraph text when doing a jump to mergeField and an insert of static text.
Thanks in advance for your help!
-Jonathan