xsl-list
[Top] [All Lists]

[xsl] Absolute/relative positioning of graphic in XSL-FO

2006-05-23 11:25:42

I'm trying to figure out if I can have a graphic in an "absolute"
position on a page, but have the graphic automatically move down if
the text preceding it would overlap it.

Hopefully, the following crude text diagrams illustrate what I am
trying to do:

   ------------------     ------------------     ------------------  
  |                  |   |                  |   |                  | 
  | Text here        |   | Text here        |   | Text here        | 
  |                  |   | Text here        |   | Text here        |
  |                  |   |                  |   | Text here        |
  |  --------------  |   |  --------------  |   | Text here        |
  | | \  /\  /\  / | |   | | \  /\  /\  / | |   | Text here        |
  | |  \/  \/  \/  | |   | |  \/  \/  \/  | |   | Text here        | 
  | |  /\  /\  /\  | |   | |  /\  /\  /\  | |   |  --------------  | 
  | | /  \/  \/  \ | |   | | /  \/  \/  \ | |   | | \  /\  /\  / | | 
  | |/   /\  /\   \| |   | |/   /\  /\   \| |   | |  \/  \/  \/  | | 
  |  --------------  |   |  --------------  |   | |  /\  /\  /\  | | 
  |                  |   |                  |   | | /  \/  \/  \ | | 
  |                  |   |                  |   | |/   /\  /\   \| | 
  |                  |   |                  |   |  --------------  | 
  |                  |   |                  |   |                  | 
  |                  |   |                  |   |                  | 
   ------------------     ------------------     ------------------  

In the first two, the graphic stays in the same location, but
in the last one, the graphic is moved down so there is no overlap.

In case it matter, I'm using XEP 4.5 to process the FO.

Thanks,

--ewh

-- 
Earl Hood
Software Engineer
HP/ATCL
earl(_dot_)hood(_at_)hp(_dot_)com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>