CHAPTER 17

image

Generating Office Documents

A common requirement for developers is the ability to produce office documents from applications, such as invoices, receipts, or reports. By adding Office document support, you can also satisfy the needs of users who like to extract data to Excel for analysis purposes. In this chapter, I’ll describe Office-integration techniques, which include how to do the following:

  • generate Word documents with the OpenXML SDK
  • automate Microsoft Excel and carry out mail merges with Microsoft Word
  • generate PDF files on desktop applications

The de facto tool that businesses use is Microsoft Office. Therefore, this chapter ...

Get Visual Studio LightSwitch 2015, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.