I am using OpenXML to handle a mailmerge. I am feeding in data from a json file to merge with my document.
I have this working great, but then I need to take in the formatting that is described in the MERGEFORMAT, as it doesn't look like OpenXML is handling this for me.
I have coded for the CAPS, FirstCap, Upper and Lower. Also coded (not tested yet) for the date and time formatting (starts with \@ ) and also managed \f and \b. (Not sure what to do about \m or \v.
I am now looking at doing the numbers, but while I see a number starts with #, I am not really sure how to apply the number options in code.
Firstly, am I going about this correctly (applying all this in code) or is there something I am missing that I can use in the SDK?
Secondly, how do I work with the numbers?
Thirdly, are there any merge options that I am missing?
Thanks.