W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2011

RE: PDF screen reader and how to tag a block to be ignored by it

From: Mario Madunic <Mario_Madunic@newflyer.com>
Date: Thu, 17 Feb 2011 06:02:18 -0600
To: "G. Ken Holman" <gkholman@CraneSoftwrights.com>, "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
Message-ID: <246DE0E0EA0D6942B54267334267212282819D@NFIL050.newflyer.com>
Ended up using a background image of the column borders on all pages and defining no column borders for the columns themselves. Not a great solution but does the trick.

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] On Behalf Of G. Ken Holman
Sent: Monday, February 14, 2011 2:13 PM
To: www-xsl-fo@w3.org
Subject: RE: PDF screen reader and how to tag a block to be ignored by it

At 2011-02-14 13:35 -0600, Mario Madunic wrote:
>The for-each won't work as it will force all blocks that contain
>content into the left most columns, hence making the columns
>unbalanced. Didn't think it through completely.

Actually, I thought the zero-height blocks would not have changed the
end result in any way.

Remember you can annotate the XSL-FO constructs with private
attributes using your own namespace, then a post-XSLT filter (again
using XSLT) can then filter those out to produce a PDF for screen
readers that is different than the unfiltered XSL-FO for the page reader.

I hope this helps.

. . . . . . . . . Ken

>Marijan (Mario) Madunic
>Publishing Specialist
>New Flyer Industries
>-----Original Message-----
><xsl:for-each select="0 to $extraRowsNeeded">
>    <fo:block />
>So I was hoping there was an attribute that can define the blocks as
>fluff and no need to be read out. Stylistically bad and not screen
>reader unfriendly but what are other solutions?

Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Please consider the environment before printing this e-mail.

CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
Received on Thursday, 17 February 2011 12:02:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:34 UTC