You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kim Haase (JIRA)" <ji...@apache.org> on 2012/11/20 20:58:58 UTC

[jira] [Closed] (DERBY-2471) Change xsl/xslfo/ditafo-calstable.xsl (fillit template) to remove ' from PDF tables that contain blank cells

     [ https://issues.apache.org/jira/browse/DERBY-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase closed DERBY-2471.
----------------------------

    Resolution: Won't Fix

There is no need to make the suggested fix, because for accessibility reasons no table cells are empty, as of DERBY-5154 (fixed for 10.8.1.2).

                
> Change xsl/xslfo/ditafo-calstable.xsl (fillit template) to remove ' from PDF tables that contain blank cells
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2471
>                 URL: https://issues.apache.org/jira/browse/DERBY-2471
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: Laura Stewart
>            Priority: Minor
>
> A blank cell in a DITA table appears blank in HTML but in PDF
> and apostrophe appears in the cell.
> I asked on the DITA users list and this is the response that I received:
> _________________________________________________________
>      You are running into an old piece of code that used the apostrophe
>      character to force early PDF processors to create rules for the empty cell.
>      You will need to override xsl/xslfo/ditafo-calstable.xsl to revise this
>      named template:
>      <xsl:template name="fillit">
>      <xsl:choose>
>      <!-- test to see if the cell contains any sensible text or other
>      element... -->
>      <xsl:when test="not(text()[normalize-space(.)] | *)">
>      <fo:inline>&rbl;'</fo:inline>
>      </xsl:when>
>      <xsl:otherwise>
>      <xsl:apply-templates/>
>      </xsl:otherwise>
>      </xsl:choose>
>      </xsl:template>
>      If memory serves me correctly, this hack was specfically done to force cell
>      border rendering for an early version of FOP. This code has not been tested
>      against more current FO engines such as XEP or Antenna House. You might be
>      able to remove the ' character alone and get perfectly good output
>      thereafter. 
> __________________________________________________________
> Replace the ' character with a blank character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira