Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mind's Eye Report Engine BETA Posted
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Mind's Eye Report Engine BETA Posted
Miscellaneous
Thread ID:
00817973
Message ID:
00817973
Views:
67
I posted a BETA version of the next release of the Mind's Eye Report Engine. It has a lot of little fixes for VFP FRX Reports as well as some new features as well. Most notably, the Report Engine will now save Barcodes to a PDF Document WITHOUT using any Barcode fonts whatsoever and Charts now support having multiple series of data points in a single Chart. The Barcodes are actually painted into the PDF document using polygons. The Report Engine already supported Barcodes in Report Preview and Printing without using any Barcode fonts.

In order to have a Barcode painted using a VFP Report Field you can simply add BARCODE:x to the COMMENT field of a Report Expression. The Report Engine will interpret that as if you wanted a Barcode in place of the text. There is support for 22 different barcode formats and they are documented in the Help File. One of the other things of interest is that the Report Engine will paint the Barcode to the height of the Report Expression Field on the report. Normally, if you were to use a Report Expression and wanted it to be a tall barcode using a Font, you would have to stack multiple Report Expressions on top of each other to increase the height of the barcode. So you can stretch the height as tall as you wish. However, you should be aware that the PostNet barcode should only be drawn to a certain height.

To view an example of a PDF Document generated with Barcodes in it as well as a Chart showing multiple Series in a single chart you can visit the website at:
http://www.mindseyeinc.com/ReportEngine

The PDF Document sample is here: http://www.mindseyeinc.com/ReportEngine/BarCodesAndChartSample.PDF

Here is the code that generated the PDF Document. It was done just programmatically manipulating the control without an FRX. oReportEngine is the Mind's Eye Report Engine ActiveX control that is hosted on a VFP Form in the MindsEyeReportPreviewForm Form Class.
SET CLASSLIB TO libs\MindsEyeReportPreviewForms
PUBLIC oRPTForm
oRPTForm = CREATEOBJECT('mindseyereportpreviewform')
WITH oRPTForm
	.Top = 10
	.Left = 20
	.Width = 600
	.Height = 800
ENDWITH
WITH oRPTForm.oReportEngine
	* Add Some Barcodes
	.AddText('','Barcodes are now Drawn in PDF Documents',1.5,.25,0,0,'Arial',20,0,0,'B')
	.AddText('','Without using Any Barcode Fonts',2,.5,0,0,'Arial',20,0,0,'B')
	.AddBarcode('','63010',1,.5,0.75,3,.5,0)
	.AddBarcode('','63010',1,1,1.5,2,.5,0,45)	&& Rotated to 45 Degrees
	.AddText('','Rotated Barcodes',1.7,3.2,0,0,'Arial',14,255,0,'B',450)
	.AddBarcode('','63010',1,7,0.75,3,.5,0,270) 	&& Rotated 270 Degrees
	.AddText('','Rotated Barcodes',6.75,.75,0,0,'Arial',14,255,0,'B',2700)
	.AddBarcode('','296-3451',1,0.5,3.5,3,1,0)		&& Height of 1 inch tall barcode
	.AddBarcode('','63010',10,4,.75,2,3,0) 	&& Tall Barcode
	.AddText('','Even Make Them Tall',3.9,3,0,0,'Arial',14,255,0,'B',900)
	*
	* Now add the Chart
	*
	.AddChart('',1,1,5,6,5)
	.ChartSeriesTitle = 'Portfolio'
	.ChartSeriesColor = 16744576
	.Chartaddxydata(4.8,0,'Sep 02',16744576)
	.Chartaddxydata(4.1,0,'Dec 02',16744576)
	.Chartaddxydata(3.8,0,'Mar 03',16744576)
	.Chartaddxydata(3.4,0,'Jun 03',16744576)
	.Chartaddseries(1,'Index 1',4194432)
	.Chartaddxydata(4.2,0,'Sep 02',4194432)
	.Chartaddxydata(3.8,0,'Dec 02',4194432)
	.Chartaddxydata(3.5,0,'Mar 03',4194432)
	.Chartaddxydata(3.1,0,'Jun 03',4194432)
	.Chartaddseries(1,'Index 2',14089977)
	.Chartaddxydata(3.6,0,'Sep 02',14089977)
	.Chartaddxydata(3.2,0,'Dec 02',14089977)
	.Chartaddxydata(2.7,0,'Mar 03',14089977)
	.Chartaddxydata(2.5,0,'Jun 03',14089977)
	.Charttitle = 'Portfolio VS Benchmark'
	.ChartXAxisTitle = 'Period'
	.ChartXAxisFontSize = 16
	.ChartYAxisTitle = 'Return'
	.ChartYAxisFontSize = 16
	.ChartSeriesMarksVisible = .f.
	.AddText('','Multiple Series Charts',2,5,0,0,'Arial',30,0,0,'B')
ENDWITH
oRPTForm.Show
I'm just trying to make things as simple as possible. <g>
Next
Reply
Map
View

Click here to load this message in the networking platform