I have written some code to create a new document and then to edit some predefined styles (normal, header1,2,3 etc) changing the font name and size. I also change the alignment to fully justified. In one style I change the colour also. I then save the document. When I open the document in Word 2010, none of my changes, except the colour change has survived. What am i doing wrong?
- Your input Word document
- Please attach the output Word file that shows the undesired behavior.
- Please attach the expected output Word file that shows the desired behavior.
- Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.