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

Re: Reference-orientation

Expand Messages
  • virgul4u
    Thanks a lot Eliot that works great!!! ++ Thierry ... incorrect ... define a ... result ... taking as ... don t ... block ... rotate
    Message 1 of 3 , Apr 26, 2005
    • 0 Attachment
      Thanks a lot Eliot that works great!!!

      ++

      Thierry



      --- In XSL-FO@yahoogroups.com, Eliot Kimber <ekimber@i...> wrote:
      > virgul4u wrote:
      > >
      > > <fo:block reference-orientation="160">
      > > variable
      > > </fo:block>
      >
      > Whether or not FOP supports roation of blocks, this markup is
      incorrect
      > for two reasons:
      >
      > 1. Reference orientation must be a multiple of 90 degrees (or zero)
      >
      > 2. fo:block cannot be rotated, only fo:block-container
      >
      > Also, when you rotate a block container 90 degrees you should
      define a
      > constant value for the inline progression dimension (IPD), e.g.:
      >
      > <fo:block-container
      > reference-orientation="90"
      > inline-progression-dimension="30mm">
      > <fo:block>Rotated content goes here</fo:block>
      > </fo:block-container>
      >
      > If you don't do this, then the IPD is "auto" which means that the
      > content will take all the available space, which would normally
      result
      > in the content (if it's text), being rendered as a single line
      taking as
      > many pages as it needs. Probably not what you want.
      >
      > If the content is a graphic and you set the content-width then you
      don't
      > need to set the IPD because it's inherent in the content of the
      block
      > container.
      >
      > If you want arbitrary rotation of text or graphics you must use
      > something like SVG (or just make it a graphic), where you can
      rotate
      > things any way you want.
      >
      > Cheers,
      >
      > Eiot
      >
      > --
      > W. Eliot Kimber
      > Professional Services
      > Innodata Isogen
      > 9390 Research Blvd, #410
      > Austin, TX 78759
      > (512) 372-8155
      >
      > ekimber@i...
      > www.innodata-isogen.com
    Your message has been successfully submitted and would be delivered to recipients shortly.