Loading ...
Sorry, an error occurred while loading the content.

2352Re: [XSL-FO] Centering a block on the page

Expand Messages
  • W. Eliot Kimber
    Oct 30, 2002
      David Tolpin wrote:
      >>>I did find one solution, although I'm not sure its the best solution:
      >>On further exploration, I discovered that XSL Formatter does this
      >>centering consistently regardless of what the reference-orientation is
      >>for the containing flow, but XEP only does it if the reference
      >>orientation of the flow is 0 or 180--if it is a multiple of 90 degrees,
      >>XEP does not center in the "inline progression" direction.

      > When a block container is placed inside another block container and rotated by an odd
      > multiple of 90 degrees, it's block progression dimension becomes equal to containing
      > block's inline progression dimension (unless explicitely specified); in XEP, it's
      > inline progression dimension becomes equal to the maximum possible size of containing area's
      > block progression dimension, although a better implementation would complain that
      > inline-progression-dimension must be specified.

      Ok, I think I have a solution that both implementations render in the
      same way:



      W. Eliot Kimber, eliot@...
      Consultant, ISOGEN International

      1016 La Posada Dr., Suite 240
      Austin, TX 78752 Phone: 512.656.4139
    • Show all 17 messages in this topic