* Convert barcode (parent needs to be set)

git-svn-id: trunk@38932 -
This commit is contained in:
michael 2018-05-06 09:54:37 +00:00
parent 925f7e7d7c
commit af938981b3

View File

@ -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);