How to create Microsoft Word reports with pictures
Using WDReportGen, you can rapidly create various Microsoft ® Word ® reports with pictures. WDReportGen is an easy to use, cost effective, powerful and flexible reporting tool that outputs reports in Microsoft Word document format.
About pictures in Micosoft Word
To make eye-catching reports, you can add pictures to your reports. You can insert many popular graphics file formats into your document. Microsoft Word supports the following graphics file formats without a separate graphics filter. However, you do need a graphics filter installed to insert all other graphics file formats.
Microsoft Word supports the following graphics file formats without a separate graphics filter:
To insert graphics, you can decide the following:
Inserting pictures into a report template in Microsoft Word
To make a report using WDReportGen, you need to create a report template in Microsoft Word. You can insert pictures into the report template directly in Microsoft Word. For example, you want to display a logo in your report. You can insert the logo graphics file into the report template. For more information about adding pictures to a document, refer to Microsoft Word Help.
Inserting pictures into a report using WDReportGen
Except for inserting the static pictures during report design, you want to insert pictures during report buliding process. You hope a reporting tool to pull pictures from database into Word report. WDReportGen can insert pictures from the graphics files, and support all graphics file format that Microsoft Word support.
To insert pictures into a report using WDReportGen, you should do as follows:
You stored the path and file name of the pictures in database, did not store the pictures. The file path can be a relative path, an absolute path or a URL. For example, you store "images\emp1.jpg" in Photo field.
Write a report function in the WRF file, and identify the image fields using IMAGE argument. For example,
@F1=Report(table=1 ... image=photo)
To specify the inserted way, text wrapping style and size, you should write a formatting expression in the report template file. For a table report, you write a formatting expression in the cell. For a form report, write a formatting expression in the field switch "\#". WDReportGen will get the formatting expression, and insert a picture into the report according to the instruction in the format expression.
During report generating process, WDReportGen will read the graphics files, and insert them into the report according to your instruction.
Copyright © 2004 - 2014 LJZsoft Corporation. All rights reserved.