Daniel:
We will take a look at this for a future release. You would want something
like PDF-STRUCTURE-TAG="content only" and it could be on tables only?
I assume in your example the area varies in width and height, but I am not
sure.
For rounded corner boxes, we usually do this if they are variable width
*and* height:
1) Change the background color of the area to some known color (say
#255,255,254).
2) Then in processing the XEPOUT, replace that <xep:rect> with an SVG
with the exact dimensions of that rect with rounded corners (removing the
xep:color and the xep:rect).
I have sample XSL I can dig out for this if you like.
If they only vary in height with a fixed (known) width, then three stackable
areas in FO with SVG backgrounds can be used.
Kevin Brown
From: Daniel Boughton [mailto:daniel.r.boughton@rrd.com]
Sent: Thursday, December 26, 2013 8:35 AM
To: Kevin Brown
Cc: RenderX Community Support List
Subject: Re: [xep-support] Eliminate table structure from a tagged PDF
One example that comes to mind where we use a table to format non-tabular
data is where we create a shaded area on the page with rounded corners that
needs to expand/collapse dynamically based on the amount of text it
contains.
I have manipulated the XEPOUT to remove table structure on documents that I
know can be removed, usually documents that contain just a single table. I
know that I could flag tables as I suggested, but then that setting would
have to be copied down to a block element in each cell in order to be able
to identify elements in the XEPOUT which need to have the table structure
removed. All this is possible, I know, but a task that becomes much more
difficult if you need to allow for nested tables where you want to remove
the structure of the outer table, but not the inner table.
I just thought this would be something that could be handled easier in XEP
prior to creating the XEPOUT.
On Mon, Dec 23, 2013 at 5:53 PM, Kevin Brown <kevin@renderx.com> wrote:
I would think it could be done by manipulating the XEPOUT and removing
table/table-body/table-row/table-cell markup for marked areas.
One question to ask would be the inverse . are you sure you need a table to
layout non-tabular information?
Kevin Brown
RenderX
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Daniel Boughton
Sent: Monday, December 23, 2013 12:25 PM
To: xep-support@renderx.com
Subject: [xep-support] Eliminate table structure from a tagged PDF
Because the PDF 508 compliance check requires that all tables must have a
header (TH), it would be really nice if there was a way to eliminate the
table structure from a tagged PDF if that table is only used for layout.
Maybe by adding another rx: extension like rx:layout-only="true". Adding
this attribute to an fo:table element would copy only the structure of the
table's content to the PDF and not the structure of the table itself. If
there is a way to do this already, someone please enlighten me.
Thanks
-- ____________________________________________________________________________ ______ Daniel Boughton | Technical Analyst | RR Donnelley 655 Brighton Beach Rd | Menasha, WI 54952 Office: 920.751.7603 | Cell: 920.450.3581 | Fax: 920.751.7686 <http://inside.rrd.net/insiderrd/pages/google/rrd_google_signature.aspx> daniel.r.boughton@rrd.com <http://www.rrdonnelley.com/> http://www.rrdonnelley.com !DSPAM:87,52b89c299851692612233! -- ____________________________________________________________________________ ______ Daniel Boughton | Technical Analyst | RR Donnelley 655 Brighton Beach Rd | Menasha, WI 54952 Office: 920.751.7603 | Cell: 920.450.3581 | Fax: 920.751.7686 <http://inside.rrd.net/insiderrd/pages/google/rrd_google_signature.aspx> daniel.r.boughton@rrd.com <http://www.rrdonnelley.com/> http://www.rrdonnelley.com
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Thu Dec 26 11:12:42 2013
This archive was generated by hypermail 2.1.8 : Thu Dec 26 2013 - 11:12:42 PST