mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 03:19:11 +02:00
* Convert barcode (parent needs to be set)
git-svn-id: trunk@38932 -
This commit is contained in:
parent
925f7e7d7c
commit
af938981b3
@ -537,12 +537,13 @@ function TFPLazReport.ConvertBarcode(ObjNode: TDOMNode; APage: TFPReportCustomPa
|
||||
|
||||
Var
|
||||
aDataNode : TDomNode;
|
||||
BT : String;
|
||||
cd : integer;
|
||||
D :double;
|
||||
|
||||
begin
|
||||
Result:=TFPReportBarcode.Create(Self);
|
||||
aDataNode:=ObjNode.FindNode('Size');
|
||||
Result.Parent:=FindBand(APage,PixelsToMM(StrToFloatDef(GetProperty(aDataNode,'Top'),0)));
|
||||
Result.Encoding:=StringToEncoding(GetProperty(ObjNode,'BarCode','BarType'));
|
||||
if GetProperty(ObjNode,'BarCode','Angle')<>'0' then
|
||||
DoLog(SIgnoringAngleOnBarcode);
|
||||
|
Loading…
Reference in New Issue
Block a user