소스 검색

* Fix from Christian Ulrich to import orientation

git-svn-id: trunk@39202 -
michael 7 년 전
부모
커밋
02dc95a510
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      packages/fcl-report/src/fplazreport.pp

+ 2 - 0
packages/fcl-report/src/fplazreport.pp

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