LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Exists another File than wordreport.c with more functions ? I need detailed tablefunctions for Word.

I need more detailed functions (tablefunctions, titlefunctions,contentsfunctions..) for producing a word file with wordreport.c ? Exists there any other libraries or can I write such functions myself ?
0 Kudos
Message 1 of 2
(2,753 Views)
You have two options.

Option 1: Create a table control in a CVI panel that looks exactly like what you want it to look like in Word (colors, fonts, etc.). Then use the WordRpt_InsertCVITable function to copy that table to Word. It will copy that table and it's formatting into the Word Report. This is BY FAR the easiest solution.

Option 2: The Word Report instrument driver is just a tool we created to simplify ActiveX programming of Word for common tasks. If there is something that you need to do that is not in our common tasks Word report driver, then use the Word ActiveX interface directly. This way is much more difficult to program since it exposes everything possible in Word and is at a lower level than the Word Report tool, but it may be neces
sary for you. The Word ActiveX general driver can be found at \cvi\samples\activex\word2000.fp (or word97.fp). You can find an example of programming with this lower level ActiveX interface to Word at \cvi\samples\activex\word\word2000demo.prj (or word97demo.prj).

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,753 Views)