Conclusion


The ServerDocument object model was primarily designed to enable server-side code to edit the contents of the data island before serving up a document, but it does much more. You can use it to read or write the data island and to add customization assemblies to uncustomized documents. The latter requires ServerDocument to start Word or Excel, however, so doing this on a server is a bad idea. Chapter 20, "Deployment," examines another use for the ServerDocument: editing the deployment information inside a customized document.

The ServerDocument object model provides fine-grained control over the information stored in a document and assumes that you know what you're doing. Be very careful, and test your scenarios thoroughly when using the ServerDocument object model.




Visual Studio Tools for Office(c) Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath
Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath
ISBN: 0321411757
EAN: 2147483647
Year: N/A
Pages: 221

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net