the coder will create a Delphi5 component that writes an Excel file. The Excel file to write is enclosed. We will provide the component interface. In short, the component will public the following main properties: Month:integer; Year:integer; EmployeeId:integer; WeekFirstDay:integer; (*1=the week starts with Sunday 7=the week starts with Monday*) ExcelFileName:string; The only public method is procedure Print; We will provide the TNativeExcel component ([login to view URL]). This component makes it easy to create whatever Excel file even if the Excel application is not installed in your PC. After all the Excel frames are written, you will need to fill the cells with data. Real data must be taken from a complex database. We don’t want you to handle the intricacies of our database. In order to work around this problem, we will provide the declarations a small number of callback function. For instance, you will be told to print the employee name into cell AK1. You have the employee identifier (EmployeeId) but you don’t have the employee name. We know which query to build in order to get the employee name, but we don’t want you to install our database and learn all the complex database structure. So we tell you that the following function will be used TGetEmployeeName:function (EmployeeId:integer):string of object and the following property will be added to the component. GetEmployeeName: TGetEmployeeName; After creating the component, a callback function will be attached to this property. In the real case, we will attach a function that does a query in our database. In order to test your code, you will add a fake function made like this: function TForm1. FakeGetEmployeeName(EmployeeId:integer):string; begin if EmployeeId=1 then result:=’John’ else mif EmployeeId=2 then result:=’Mary’; end;
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
win 32