Hi, visibility affects the boxes generated by the Formatting object, but... fo:table-column generates no area, so this property has no direct effect as it.
However, since this property is inheritable in XSL-FO, this can be referenced by the (supported) function from-table-column(). If you want to propagate it to table-cell, you should use that function: <fo:table-cell visibility="from-table-column()"> see [1] §6.7.4 "fo:table-column", [2] §7.30.17 "visibility", and [3] $5.10.4 "Property Value Functions" for further details [1] http://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_table-column [2] http://www.w3.org/TR/2006/REC-xsl11-20061205/#visibility [3] http://www.w3.org/TR/2006/REC-xsl11-20061205/#d0e5961 Pascal Venkat Reddy a écrit : > Hi, > > The same thing is not working in FOP Trunk either. I have tested the > following example, both columns visible... > > <fo:table> > <fo:table-column column-width="4.0in" > background-color="aqua"/> > <fo:table-column column-width="4.0in" > background-color="aqua" visibility="hidden"/> > <fo:table-body> > <fo:table-row> > <fo:table-cell> > <fo:block>This should the only text > shown by this test.</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block>This text should not be > shown at all.</fo:block> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > > I have no idea whether this feature implmented or not? no warning > message returned as well....:-) > > Cheers, > Venkat. > > [email protected] wrote: > >> Anyone had any luck with setting the visibility attribute on a table >> column? I tried "hidden" and "collapse" but it looks like it is not >> supported. >> >> >> FOP 0.94 >> JDK 1.5 Win >> >> Thanks, >> Lou >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
