xsl-list
[Top] [All Lists]

Re: [xsl] FO question: shaded sign-off columns

2014-05-16 14:43:59
Eliot,

I like the idea of using a combination of border and a bg color.

My initial idea is to set a bg color on the page of grey on the right side as 
part of the page head. Then on the footer add another bg image of the borders 
for the two columns represented by the grey'd area. Then I was going to use 
change bars on the page body to do the color change to white and position them 
appropriately above the grey'd area.

Maybe now if I do the same as above without the change bars and instead use the 
outside border of the current block to do the change on the outer column to 
white and then use a bg image to take care of the first column into white and 
use padding to make sure the content does not intrude upon the sign-off 
columns. This could work nicely.

I was also thinking of giving everything change bars of grey and only changing 
them to white when necessary and see how this might work.

Thanks Eliot for the suggestion. Much appreciated!

Mario

-----Original Message-----
From: Eliot Kimber ekimber(_at_)contrext(_dot_)com 
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com] 
Sent: Friday, May 16, 2014 12:21 PM
To: xsl-list
Subject: Re: [xsl] FO question: shaded sign-off columns

Have you tried doing tricks with background colors, borders, and padding for 
the blocks? For example, if you made the outside edge border as wide as your 
page margin you might be able to get what you want, but you'd have to play with 
how you set up the page geometry so the blocks can put their very-side borders 
into what would otherwise be the side region of the page.

Beyond that I can't think of anything other than tables you could do in a 
one-pass process. With tables you'd want to make each block its own one-row 
table to avoid memory issues.

Cheers,

Eliot

—————
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com




On 5/16/14, 1:55 PM, "Mario Madunic mario(_dot_)madunic(_at_)aeroinfo(_dot_)com"
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:

Using AntennaHouse 6

Hi,

I'm trying to do a shaded sign-off on the right side of a page without 
using a table. If content requires a sign-off then use a white bg if 
not then use a grey bg and it would need to be the height of the 
current content. Also there would be two columns for sign-offs and 
either one could a different color.

I tested using  2 <fo:change-bar-begin /> and if there is no content 
after the last change bar then all works smoothly but once there is 
content afterwards the second change bar's height becomes the height of 
the entire document. Not exactly what I was looking for.

I was thinking of using a bg image situated to the right and only to 
fill the space vertically. Will also test using AH's change bar extension.

Can this be done using block-containers? And can a block container 
inherit its height from the content?

Does anyone have experience with this? Any insight will be appreciated.

If my requirement needs further explanation please do not hesitate 
forward them to me.

Thanks

Mario Madunic | Software Developer | AeroInfo Systems, A Boeing Company 
| www.aeroinfo.com | www.boeing.com



--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

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