Alberto Fornés 22 Posted August 28 (edited) Version 3.0 of the PLABEL VCL components has been released, this is a version written from scratch and using the Skia library to render graphics. The previous version was used to add a label editor to our applications: text, paragraph, images, barcodes, etc. In this new version, the possibility of editing flowcharts and technical drawings (layers, dimension measurement, operations with lines, scale, etc.) has been added. Drawings can be printed or saved as pdf, png, jpeg, gif or svg. Saving as SVG can be interesting for web projects, or if you need to show technical drawings in documents such as quotes and orders. At https://www.mesurasoft.com/Plabel/Gallery , you can see several examples of created documents, some of them as SVG. The appearance and functionality of the property inspector has been changed, now it is better organized and more compact. In labelling mode you can rotate left or right the label. Link label elements to data: TDataset descendant, csv or json. Table element to print records from detail tables. Inplace editing text, align positions vertical and horizontal. Set background rounded rectangle. Symbols can be created by code and saved in categories and libraries, to then be inserted in a certain position, scale and angle of rotation. Symbols can have one or more connection points, to link to other elements in the drawing. You can organize the elements of the drawing in layers, which you can hide or print as needed. You can add dimensions and measurements to the drawing, their appearance can be modified using dimension styles. In technical drawings, apart from the units, you can define a scale greater than one, which will be taken into account when placing the dimensions and measurements New elements: nutriscore display, level, rank, show box sizes At https://www.mesurasoft.com/Plabel you can find downloadable demos of the three editors: labels, flowcharts and technical drawings, an example of generating a dynamic SVG from a browser with webbroker, as well as a pdf document where the editor's functionalities are explained for the end user. Here https://www.youtube.com/@MESURASOFT are some videos showing funcionalities It is available in versions Delphi 10 (Seattle) to Delphi 12.0 (Athens) Previous users who purchased the PLABEL VCL 2.8 license of the components have a special access price to this version. There is a 20% discount coupon [ PLABEL ] until September 4. Edited August 28 by Alberto Fornés Error with Delphi version 5 Share this post Link to post
JonRobertson 72 Posted August 28 That looks impressive. I don't have a need, but I would give them a try if I did. Share this post Link to post
Rollo62 539 Posted August 28 Nice component, are there plans to support FMX too? Share this post Link to post
Alberto Fornés 22 Posted August 28 46 minutes ago, Rollo62 said: Nice component, are there plans to support FMX too? Yes, next week I will start with the version for FMX, the RTL base and the drawing with Skia is the same, the changes are the writing of the editor component. 1 Share this post Link to post
Alberto Fornés 22 Posted August 29 If anyone has tried to download and got an error, I have reviewed the link for the Labelling demo program and reviewed the installer for the SVG label generation program. Share this post Link to post
omnibrain 15 Posted September 4 I ordered it because I have lots of ideas how to use it (especially the technical drawings) to augment our software. 🙂 Let's see how this goes. If nothing else our customers will be able to create nice labels 😉 1 Share this post Link to post
omnibrain 15 Posted October 23 I still enjoying trying out the components and have some first ideas but not enough time. But I have a few questions: The Demos seem to be a bit messed up pathwise. Difficult to describe, I think it's best if you do a clean install and open a Demo in Delphi yourself and then start it from within Delphi. You have SaveSVG and ExportDoc procedures. Both save to files. Is there a reason there is no option to save to a stream to continue processing the generated label directly in a program? Or am I overlooking something? I managed to hide almost all control elements of the editor component. But not the scrollbars. Am I overlooking something? I see that you can use a CSV file or JSON as Data Source. But is it also possible to use a TDataSet? Share this post Link to post
Alberto Fornés 22 Posted October 23 24 minutes ago, omnibrain said: I still enjoying trying out the components and have some first ideas but not enough time. But I have a few questions: The Demos seem to be a bit messed up pathwise. Difficult to describe, I think it's best if you do a clean install and open a Demo in Delphi yourself and then start it from within Delphi. You have SaveSVG and ExportDoc procedures. Both save to files. Is there a reason there is no option to save to a stream to continue processing the generated label directly in a program? Or am I overlooking something? I managed to hide almost all control elements of the editor component. But not the scrollbars. Am I overlooking something? I see that you can use a CSV file or JSON as Data Source. But is it also possible to use a TDataSet? Hello Omnibrain, about your questions: 1.- The Demos seem to be a bit messed up pathwise. Difficult to describe, I think it's best if you do a clean install and open a Demo in Delphi yourself and then start it from within Delphi. I will check it, path installation is different from development and maybe something is broken. 2.- You have SaveSVG and ExportDoc procedures. Both save to files. Is there a reason there is no option to save to a stream to continue processing the generated label directly in a program? Or am I overlooking something? Yes, there are to methods to save and load from a stream: procedure TMPLabel.SaveToStream(aStream: TStream); procedure TMPLabel.LoadFromStream(aStream: TStream); 3.- I managed to hide almost all control elements of the editor component. But not the scrollbars. Am I overlooking something? Scrollbars are enabled or disabled depending of label dimensions and zoom. No option to hide it. Maybe I add in next update, something like fitToAll and disabled zoom option. 4.- I see that you can use a CSV file or JSON as Data Source. But is it also possible to use a TDataSet? Yes you can assign any descendent from TDataSet, See TMPLabel.Data.DataSets from object inspector. I'm working in a new release fixing some bugs and adding new features. Also in a version with FMX library. Share this post Link to post
omnibrain 15 Posted October 23 1 minute ago, Alberto Fornés said: Yes, there are to methods to save and load from a stream: procedure TMPLabel.SaveToStream(aStream: TStream); procedure TMPLabel.LoadFromStream(aStream: TStream); As far as I understand it they are for the label itself. I‘m interested in further „processing“ the SVG or a PNG. Share this post Link to post
Alberto Fornés 22 Posted October 23 1 minute ago, omnibrain said: As far as I understand it they are for the label itself. I‘m interested in further „processing“ the SVG or a PNG. Ok, I understand your requirement, I will add in next release. 1 Share this post Link to post