[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]


Subject: Re: [xsl] FO: make some content grey?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Oct 2013 13:01:00 -0400

At 2013-10-30 17:56 +0100, Michael M|ller-Hillebrand wrote:
Dear FO professionals,

In PDF documents we require to show to the
reader if certain content is already approved -
so they may skip it when reviewing the document.
We had a long discussion if it would be better
to somehow mark the relevant (= not approved)
parts or better mark the approved parts. Also
the content may contain images and tables with
shaded rows, which should also be marked.

As change bars are already used to mark changed
content we were looking for another solution:
All approved content should have reduced
contrast, as if a white rectangle with 50%
opacity was put on top. Everything, whether it
is text or graphics or shading will be reduced
to half the original contrast (assuming white background/paper).

I know that some formatters (like Antennahouse,
which we use) support SVG graphics and I already
have seen it being used with
transparency/opacity, but this would require
knowledge about the area to be changed, wouldnt it?

Can you suggest a way to handle this?

I satisfied this requirement for legislation publishing for a client quite simply by shading the background. They mark amended content in this fashion. The text stayed black, and my formatting of the text was unchanged, but a template rule intercepts the block first by its amended attribute, establishes a wrapper with a shaded background, then uses next-match to let the formatting continued without any required knowledge of the amendment status.

Though you say change bars are in use, remember
that change bars can be styled so perhaps you
could have dashed change bars to represent
information differently than solid change bars.

I hope this helps.

. . . . . . . . . Ken

-- Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |

Current Thread