This was the last big feature I had to convert to .NET for Diving Log 5.0 – the print function with the report designer. Like all other features I’ve completely restructured the whole code and interaction with the report engine List&Label. And I’ve added several new features and improvements. Below you can see the new print dialog with some visual changes. One minor improvement is that it will remember the last printed dive number and use it as start number when you open the dialog the next time, which makes it a little bit easier to print only the new dives.
The biggest improvement has been added to the dive profile printing. Up till now you could only print the depth profile with very little customization properties. In version 5.0 the print engine uses exactly the same profile drawing routine as the profile display in the logbook window. So you have the same profiles and features at the same time as they are implemented into the logbook window. You can drag several profile objects to the designer and change the profile type and other options by double clicking the profile or by clicking the properties icon on the left side.
When you use the profile field in a list type report, the profile will be automatically drawn in a minimalistic way without text and scales, so it fits best into the small table rows.
The 2nd major improvement is the buddy signature drawing. You have now also several options to customize the design. The same drawing will be used in the logbook window, too. Currently you can create new signatures only in the Windows Mobile version, but in version 5.0 you will be able to sign a dive also in the desktop version (with the mouse or with touch enabled devices).
You can download 2 PDF files generated by the new print function and the report files from the screenshots above:
The last change is the way I’ve implemented the report designer variables. In version 5.0 you will have a “Diving Log 4.0 compatibility mode” which is enabled by default and makes it possible to use the existing 4.0 report files without modification. In standard mode, the variables in the report designer were now organized in sub folders which make it easier to find each variable (especially if I add more fields in future), but it requires updating existing report files. For example, the variable “LogAirtemp” is now called “Logbook.Airtemp”. I’ll update the official report files and the files available for download and write a separate blog post how this could be done very easily, but I think the better structure in the designer is worth the effort:
So, now as the print function is complete I’ll write next a blog post which gives you an overview where we are at the moment, features which has to be done until a possible beta release and what will be skipped and not included in the first beta to delay the release not unnecessarily. Thank you for your patience during this long time update, I’m also very excited, but this is really a major task which takes some time.