1. First pass
Program Generate the HTML page of the report style, and modify the HTML page suffix to Doc.
2. Customize the template file of the Word document, operate the Word template in C #, and generate a new word document.
The first scheme is
In the current project development process, the customer needs to generate Word documents based on the database data, and found two solutions during the communication with colleagues.
1. use the Program to generate an HTML page of the report
1. Generate the HTML page of the report style through the program, and then modify the HTML page suffix to DOC.
2. Customize the template file of the WORD document, operate the WORD template in C #, and generate a new WORD document.
The first
As you know, word provides a wide range of templates. Before you start to edit Word documents, especially professional documents, you can see if there are any ready-made templates available. If there is one, you can take full advantage of the spirit
Document directory
Reference
Other resources
This introductory walkthrough describes how to create an application-level external program for Microsoft Office Word. The features you create in this type of solution are available to the
CODE: // generate a WORD program object and a WORD Document Object
Microsoft. Office. Interop. Word. Application appWord = new Application ();
Microsoft. Office. Interop. Word. Document doc = new Document ();
Object oMissing = System. Reflection.
Only one box is displayed in the image in my word. This problem has plagued me for a while and is finally solved today.
The reason is as follows:
WordFormulas cannot be displayed inQ: The edited formula in Word 2003 cannot be displayed. It is
From: http://www.vckbase.com/document/viewdoc? Id = 1186
Download source code
In practical applications, programmers often likeProgramThe system can automatically generate WORD instructions to indicate the program running status or running
Integration of Domino and word Chen Bin, software engineer, and IBM Chen Bin are senior software development engineers from IBM cstl. They are now responsible for the development, support, and team leadership of Lotus Domino for IBM I. Chen Yun,
In the previous articleArticle, I initially introduced how to develop a vstoProgramIn this article, I will further introduce the development of the word plug-in. Word is a document tool that everyone has been familiar with in their daily work. It is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.