VSTO merging document level templates

Home Forums WordprocessingML VSTO merging document level templates

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3579

    chris.yager
    Participant

    Hi Eric,
    I have a Word 2010 VSTO document-level customization app. I need to support a 2nd group of editors with this application. They have a different set of styles, numbered lists, and default style settings. I have written openxml code to rename and add their styles to my dotm file. I think I can also add their numbering, although it looks complex. I’m stuck on docDefaults styles. Once I have started up the application, they have the option to make a choice that will result in different settings for docDefaults styles. However, I don’t see a way to change them once the application is running. I see that there is a WordOpenXML property on my derivation of the DocumentBase class, but this is readonly. Do you know how I can change these properties once the VSTO add-in has started up?
    Thanks,
    Chris

    #3683

    Eric White
    Keymaster

    Hi Chris,

    I am not a VSTO expert, but I would not be surprised that there is no way to change doc defaults on an open document from VSTO. (But I would not be surprised if there is a way.)

    Sorry I don’t have a better answer.

    Sorry also for the slow response – was on vacation, also dealing with family issues.

    Cheers, Eric

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.