* Fix from Christian Ulrich to import orientation

git-svn-id: trunk@39202 -
This commit is contained in:
michael 2018-06-09 12:47:31 +00:00
parent 9e76882ae6
commit 02dc95a510

View File

@ -701,6 +701,8 @@ begin
aPage.PageSize.Width := round(PageToMM(StrToFloatDef(GetProperty(aPageNode,'Width'),aPage.PageSize.Width)));
if GetProperty(aPageNode,'Height')<>'' then
aPage.PageSize.Height := round(PageToMM(StrToFloatDef(GetProperty(aPageNode,'Height'),aPage.PageSize.Width)));
if GetProperty(aPageNode,'Orientation') = 'poLandscape' then
aPage.Orientation:=poLandscape;
aDataNode := aPageNode.FindNode('Margins');
if Assigned(aDataNode) then
begin