You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/03/05 15:50:36 UTC
[Bug 839] New - Positioning of blocks in a block section.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=839
*** shadow/839 Mon Mar 5 06:50:36 2001
--- shadow/839.tmp.1439 Mon Mar 5 06:50:36 2001
***************
*** 0 ****
--- 1,54 ----
+ +============================================================================+
+ | Positioning of blocks in a block section. |
+ +----------------------------------------------------------------------------+
+ | Bug #: 839 Product: Fop |
+ | Status: NEW Version: 0.17 |
+ | Resolution: Platform: Other |
+ | Severity: Normal OS/Version: Linux |
+ | Priority: Component: pdf renderer |
+ +----------------------------------------------------------------------------+
+ | Assigned To: camk@channelpoint.com,fop-dev@xml.apache.org |
+ | Reported By: flpellan@student.ethz.ch |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ I tried to position a block element into a block, relative to its parent but
+ unfortunately it seems that this dosen't work at all!
+ I think my fo should be correct. Please answer me because I need the relative
+ positioning for my project.
+
+ Thanks!!
+ F.Pellanda
+
+ test.fo:
+
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"><fo:layout-master-set>
+ <fo:simple-page-master master-name="A4" page-width="297mm" page-height="210mm"
+ margin-top="0.5in" margin-bottom="0.5in" margin-left="0.5in"
+ margin-right="0.5in"><fo:region-body>
+ </fo:region-body>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-name="A4">
+
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block position="absolute" top="3cm" left="3cm">
+ <fo:block top="2cm" left="10cm" position="absolute">dsfst</fo:block>
+ <fo:block top="1cm" left="2cm" position="relative">TEst</fo:block>
+ <fo:block top="1cm" left="2cm" position="fixed">TsdfEst</fo:block>
+ </fo:block>
+ <fo:block position="relative" top="4cm" left="4cm">
+ <fo:block top="2cm" left="10cm" position="absolute">dsfst</fo:block>
+ <fo:block top="1cm" left="2cm" position="relative">TEst</fo:block>
+ <fo:block top="1cm" left="2cm" position="fixed">TsdfEst</fo:block>
+ </fo:block>
+ <fo:block position="fixed" top="5cm" left="5cm">
+ <fo:block top="2cm" left="10cm" position="absolute">dsfst</fo:block>
+ <fo:block top="1cm" left="2cm" position="relative">TEst</fo:block>
+ <fo:block top="1cm" left="2cm" position="fixed">TsdfEst</fo:block>
+ </fo:block>
+ </fo:flow>
+
+ </fo:page-sequence>
+ </fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org