[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Table columns - fixed span width with underlying

Subject: RE: Table columns - fixed span width with underlying "auto" layout columns
From: "Murray McDonald" <m.mcdonald@xxxxxxxxx>
Date: Mon, 28 Feb 2011 12:05:50 -0500
RE:  Table columns - fixed span width with underlying
I thought I would share my results:

Unfortunately RenderX does not support the "visibility" property.  To test
the techniques I set the foreground and background color to produce
white-on-white for these "spacing" inlines.  This looks fine visually but
the characters are, of course, present in the output PDF.  If I really want
to, I can post-process the XEP file removing any such white-on-white text.

Below is a table cell containing the data "$589".  This data appears offset
to the left by the width of a close paren.  The cell has a double-underline.
The length of the double underline is the length of the string "(23,071"
(widest content in column) and the underline is also offset to the left by
the width of a close paren.

<fo:table-cell text-align="from-table-column(text-align)"
  <fo:block-container height="12pt" margin-right="12pt" margin-bottom="3pt">
    <fo:block-container absolute-position="absolute" bottom="0" right="0"
      <fo:block>$589<fo:inline visibility="hidden"
       <fo:inline border-bottom="3pt double black">
         <fo:inline visibility="hidden" color="#FFFFFF">(23,071</fo:inline>
       <fo:inline visibility="hidden" color="#FFFFFF">)</fo:inline>

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.