Encerrado

MS Word Automation using C++

Create a C++ object (classes, not a dll) that will contain methods to open MS Word and create a document. The format for the documents created by your object will be the same for each document (a sample document is attached). The app that will use this object will supply the raw text and file name to your object. Your object will export public methods to: Set the new file name for the word document Set the text for the body of the document (see details for text format) Set the text for the title of the document Create the word document (called after the above methods have been called) Your code will be compiled into a larger project which will call the public methods that you create. You will probably want to create your own test app to develop and test your code.

## Deliverables

All source code, which must all be C++ using MFC (dynamically linked). Your source files will be added to an existing project that is compiled on Visual C++ 6.0. Source code must be documented extremely well. So well, in fact, that another programmer could look at your code and continue working on the project, such as adding to its functionality, without having to spend a lot of time trying to figure out what you did. If you use the Class Wizard to create any code, you must briefly document how you used the wizard. For example, the steps you took to create the msword8.h and .cpp files. This does not apply to the simple test app that you will have to create to test your code. Please do not supply any executables or intermediate .obj files or dlls. If you create a test app as part of this project (and you probably will), we would like the source code and project and workspace files for that as well. Buyer will have Complete ownership and distribution copyrights to all work purchased. Details: Look at the attached MS Word document. Each document created by your code will have the same layout and format. If necessary, you will need to create an MS Word template to use as the basis for each new document that your code will create. There are two types of text that will be supplied to your object to go in the Word doc that your object will create: The title; and the content of the cells. The title text will be supplied in a separate method that you define (probably void SetTitleText( LPCSTR szTitleText ) or something similar, and will only go on the first page. As you can see, the document consists of one long table. The table length (number of rows) will be different for each document. The text for each row of cells will be supplied to your object as a list of items, one for each horizontal row in the table. The list will be an MFC Clist defined below. A pointer to the list will be supplied to your class using a method you define such as SetDocText( … ). Clist* pWordItems; struct tCLItemForWordDoc { LPSTR pCellText; // actual text to go in the cell bool bHeader; // text is a new section header bool bNA; // true if you need to insert an // “X?? in the N/A cell column bool bOK; // true if you need to insert an // “X?? in the OK cell column bool bReview; // true if you need to insert an // “X?? in the Review cell column }; If the bHeader flag is true, then the text should be a new level 1 section header in the document. You can see them in the document in bold and underlined, and the cell immediately above and below it is empty. If it helps, you can also have a SetRowCount( int ) method so we can tell your object how many rows will be in the document (including the blank rows) before it is created. Please email with any questions.

## Platform

WinXP (both Pro and Home versions), Win 2000, Win 98, Win ME. Support Word 97 and later.

Habilidades: Programação C, Engenharia, Excel, Microsoft Access, Microsoft Exchange, MySQL, PHP, Powerpoint, Arquitetura de software, Teste de Software, Word

Ver mais: word automation source code, what is template in cpp, what is an object in programming, what is a method in programming, what is a class in programming, what do you need to develop an app, what are classes in programming, visual c++ programming, true automation, template in cpp, template .cpp, template cpp, supply pro, struct in cpp, struct c programming, struct cpp, programming with cpp, programming what is a class, programming using c++, programming using c#, programming test questions, programming define, programmer test questions, pointer programming, object c programming

Acerca do Empregador:
( 15 comentários ) United States

ID do Projeto: #2961853

11 freelancers estão ofertando em média $122 para este trabalho

psergei

See private message.

$170 USD in 7 dias
(448 Comentários)
8.6
algolvw

See private message.

$102 USD in 7 dias
(83 Comentários)
6.3
0xllc

See private message.

$85 USD in 7 dias
(70 Comentários)
6.2
michaeldweber

See private message.

$85 USD in 7 dias
(34 Comentários)
4.6
markmckayvw

See private message.

$153 USD in 7 dias
(2 Comentários)
4.4
lelesys

See private message.

$85 USD in 7 dias
(10 Comentários)
4.3
softinternals

See private message.

$153 USD in 7 dias
(2 Comentários)
3.2
vw884283vw

See private message.

$102 USD in 7 dias
(7 Comentários)
2.7
zzzjim

See private message.

$85 USD in 7 dias
(4 Comentários)
1.3
codecard

See private message.

$148.75 USD in 7 dias
(0 Comentários)
0.0
sssltd

See private message.

$170 USD in 7 dias
(0 Comentários)
0.0