Serving Word

In Serving Word I demonstrate how you can use a combination of HTML, XML, and CSS to dynamically generate MS Word documents on the server. The PowerPoint presentation, over 2,000 lines of example code, and a Breeze presentation are available here.

Download presentation and examples

View Breeze presentation online

28 Responses to “Serving Word”

  1. Theo Bakker says:

    Dear Sam,

    inspired by your presentation I started to test your examples. Your description of creating word documents is very promissing.
    All went fine until the multipart examples. I downloaded and installed the webarchive plugin, but this didn’t help. The result still is a document with all the mime information visible. I hope you can tell me what I’m doing wrong.
    Thanks! I’m using IE 6.0, Win2K and Word 2000

    Theo Bakker

  2. Sam says:

    Theo,

    Are you using the existing examples as is or are you creating a new doc based on the examples? The Multipart-MIME stuff is very sensitive–one character out of place and it’ll just display as plain text.

    Sam

  3. Richard says:

    Hi, could you tell me where you got the info for your example code in the download, namely lables01.cfm

    I need to create some labels of a different avery size.

    Hope you can help me out?!!

    Richard

  4. Sam says:

    Hi Richard,

    I got all of the information in the preso by doing “Save as HTML” within Word. To find out information about label sizing create a page of the desired labels, then do a “Save as HTML”, and view the generated HTML code. It will have all the sizing information ready for extraction and reuse.

    Best regards,

    Sam

  5. Richard says:

    Thanks very much Sam. I will give that a go right away :-)

  6. Christy says:

    I’m looking for suggestions on getting the multi-part documents to work. I downloaded the code and can run everything except the multi-part examples. The document I am most interested in at this point is columns02.cfm. When I run it the Word document is generated - however, the contents are:

    “MIME-Version: 1.0 Content-Type: multipart/related; boundary=”—-=_e3555e646d”
    This document is a Multipart MIME message. If you are seeing this text then the message was not rendered properly.”

    Then, all the code is listed…

    I am running CFMX 6.1, Word 2000, IE 6.0
    I have downloaded and installed the webarchive plug-in you mention in the Breeze presentation.
    I have not modified the code one character.

    What am I missing?

    Christy

  7. bank loan says:

    Hello there,

    Iwas browsing the web and found this blog. Some interesting quotes. Keep them coming!

    Alice
    bank loan

  8. Asenlix says:

    Hi, You should check out Asenlix

  9. Here, now, go pacific poker is just for you. No need for previous experience. Pacific poker http://pacific-poker.p6.org.uk pacific poker the poker leader.

  10. I think that online roulette should be played more. http://casino.rtq2.com/online-roulette.html is a site that offers that, along with many more internet casino games, such as texas poker or other poker games.

  11. Max Power says:

    Welcome Home Everyone Home

    Cya
    Max

  12. John says:

    I am looking for the code examples for Serving Word by Neff. Are there other articles/examples to serve a document to MS Word from IE?

  13. Tired of getting ripped off? We research and recommend only the Best-Period! We back our recommendations with 100% support.

  14. Find the Best Credit Card Offers online. Low Apr Credit Cards, 0 Apr Credit Cards and every major credit card application online.

  15. Find the Best Natural Penis Enlargement Pills available today! We have all major products available without a prescription! We have all of the very best penis enlargement products!

  16. We are the best online. We are the Biggest online! The best products available today!

  17. goseta says:

    could you post the files examples again please

  18. good one man !! i love ure blog

  19. Telefonos cellulares y telefonos moviles. Bueno telefonos cellular aqui.

  20. blog design is nice keep up your good work

  21. your site design looks cool !!

  22. enhancement male pill blog today.

  23. imparare says:

    Interesting comments.. :D