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

Subject: Re: [xsl] FO question: shaded sign-off columns
From: "Mario Madunic mario.madunic@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 May 2014 15:31:43 -0000
Abusing change bars has worked for the shaded/unshaded signoff column. No
tables where used.
Mario

-----Original Message-----
From: Mario Madunic mario.madunic@xxxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Sunday, May 18, 2014 7:33 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] FO question: shaded sign-off columns

Hi Eliot,



Appears that I had by mistake gave two change bars the same id causing the
last change bar to span all pages from the point it was declared. In my
testing now I am able to use two change bars to do the unshading of the
sign-off column. Just one more test to do before implementing it into
production. Fingers crossed.



Mario



-----Original Message-----

From: Mario Madunic mario.madunic@xxxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]

Sent: Friday, May 16, 2014 12:44 PM

To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx

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



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@xxxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]



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







bbbbb



Eliot Kimber, Owner



Contrext, LLC



http://contrext.com



















On 5/16/14, 1:55 PM, "Mario Madunic mario.madunic@xxxxxxxxxxxx"



<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> 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

Current Thread