locked
Websites and Word Documents RRS feed

  • Question

  • Hi all

    I have a website which displays word documents containing various information sheets  and graphics regarding my company's products
    These word documents are all generated within Visual Studio using  databases and stored graphics and  are uploaded to the website.
    Hyperlinks to these documents are all generated within the web page when these are created.  

    However all the styling for the word document is  embodied in the document by the word document generator,

    It would be nice to put all the word document styling  in a template so that I can vary it without having to regenerate the documents as one does with webpages and style sheets

    Is there any solution based on getting the browser  to read and interpret office templates or am I stuck with the present situation.

    The only other option is to get the users to download the templates and apply them but that idea is for the birds

    Roger Stenson

    • Moved by Max Meng Friday, September 7, 2012 1:46 AM moving to a more appropriate forum (From:Office Web Apps Setup and Deployment)
    Thursday, September 6, 2012 9:08 AM

Answers

  • Hi Roger,

    Here is the steps show you how to do it in Word:

    1. - In Word 2003, on the Tools menu, click Templates and Add-Ins.
        - In Word 2007 & Word 2010, in the Developer tab, Click Document Templates in the Template group.

    2. Click Attach, and then select the template you want.

    3. Click Open.

    4. Select the Automatically update document styles check box.

    .

    Then it's your turn to achieve this using Visual Studio.


    Max Meng

    TechNet Community Support

    • Marked as answer by Max Meng Tuesday, September 18, 2012 2:50 AM
    Friday, September 7, 2012 4:46 AM

All replies

  • Hi Roger,

    Here is the steps show you how to do it in Word:

    1. - In Word 2003, on the Tools menu, click Templates and Add-Ins.
        - In Word 2007 & Word 2010, in the Developer tab, Click Document Templates in the Template group.

    2. Click Attach, and then select the template you want.

    3. Click Open.

    4. Select the Automatically update document styles check box.

    .

    Then it's your turn to achieve this using Visual Studio.


    Max Meng

    TechNet Community Support

    • Marked as answer by Max Meng Tuesday, September 18, 2012 2:50 AM
    Friday, September 7, 2012 4:46 AM
  • check this link this may help you out

    http://www.pcreview.co.uk/forums/developer-menu-tab-t3875229.html

    Monday, September 10, 2012 9:28 AM
  • Thank you both very much . I can see how to proceed and gain the flexibility I want through the specification of paragraph styles in a .dot document and invoking these styles when I generate the word document

    All I have to do then to vary the styles is to change the .dot

    Why did I not think of that

    Roger Stenson

    Wednesday, September 12, 2012 9:20 PM
  • So I guess, problem solved?

    Max Meng

    TechNet Community Support

    Thursday, September 13, 2012 1:26 AM