interfaces use "implements" iso "extends"
Status: Beta
Brought to you by:
khurshid
Interfaces extending other interfaces are using
"implements" iso "extends".
I traced it down to line 530 of xml2fo.xsl:
<fo:block>implements
It needs to distinguish between classes and interfaces.
(from: rian.wouters@philips.com)
Logged In: NO
the following fixes this:
in xml2fo.xsl change
<!-- interfaces if any -->
<xsl:if test="interface[@direct = 'true']">
<fo:block>implements
into
<!-- interfaces if any -->
<xsl:variable name="typename">
<xsl:choose>
<xsl:when test="@interface = 'true'">extends
</xsl:when>
<xsl:otherwise>implements </xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:if test="interface[@direct = 'true']">
<fo:block>
<xsl:value-of select="$typename" />
Logged In: NO
strongly related to this problem:
"All implemented Interfaces:"
iso
"All superinterfaces:"
fix:
replace
<fo:block font-weight="bold">All Implemented
Interfaces:</fo:block>
by
<xsl:if test="@interface = 'true'">
<fo:block font-weight="bold">All
Superinterfaces:</fo:block>
</xsl:if>
<xsl:if test="@interface = 'false'">
<fo:block font-weight="bold">All Implemented
Interfaces:</fo:block>
</xsl:if>
in xml2fo.xsl
Logged In: YES
user_id=271087
Will be fixed in next release