Bugzilla – Attachment 119150 Details for
Bug 94201
Dont import blank visibility attribute of <variable> tag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
no localize on switch element, visibility on variable only when hidden
xmlhelp2soffice.diff (text/plain), 3.24 KB, created by
Regina Henschel
on 2015-09-30 21:55:44 UTC
(
hide
)
Description:
no localize on switch element, visibility on variable only when hidden
Filename:
MIME Type:
Creator:
Regina Henschel
Created:
2015-09-30 21:55:44 UTC
Size:
3.24 KB
patch
obsolete
>--- xmlhelp2soffice_old.xsl 2015-09-30 23:11:52.205507400 +0200 >+++ xmlhelp2soffice_new.xsl 2015-09-30 23:51:27.661455000 +0200 >@@ -1086,14 +1086,13 @@ > ###################################################### > SWITCH > + select (sys | appl | distrib ) #REQUIRED >- + localize CDATA #IMPLIED > ###################################################### > --> > <xsl:template match="switch"> > <text:p text:style-name="hlp_aux_switch"> > <text:span text:style-name="hlp_aux_tag"> > <text:variable-set text:name="SWITCH_" text:value-type="string"> >- <xsl:value-of select="concat('<SWITCH select="',@select,'" localize="',@localize,'">')"/> >+ <xsl:value-of select="concat('<SWITCH select="',@select,'">')"/> > </text:variable-set> > </text:span> > <xsl:text></xsl:text> >@@ -1239,21 +1238,38 @@ > ###################################################### > VARIABLE > + id CDATA #REQUIRED >- + visibility (hidden | visible) #IMPLIED >+ + visibility (hidden | visible) #IMPLIED //visible is default > ###################################################### > --> > <xsl:template match="variable"> >- <text:span text:style-name="hlp_aux_tag"> >- <text:variable-set text:name="VAR_" text:value-type="string"> >- <xsl:value-of select="concat('<VAR ID="',@id,'" VISIBILITY="',@visibility,'">')"/> >- </text:variable-set> >- </text:span> >- <xsl:apply-templates /> >- <text:span text:style-name="hlp_aux_tag"> >- <text:variable-set text:name="_VAR" text:value-type="string"> >- <xsl:value-of select="'</VAR>'"/> >- </text:variable-set> >- </text:span> >+ <xsl:choose> >+ <xsl:when test="@visibility='hidden'"> >+ <text:span text:style-name="hlp_aux_tag"> >+ <text:variable-set text:name="VAR_" text:value-type="string"> >+ <xsl:value-of select="concat('<VAR ID="',@id,'" VISIBILITY="hidden">')"/> >+ </text:variable-set> >+ </text:span> >+ <xsl:apply-templates /> >+ <text:span text:style-name="hlp_aux_tag"> >+ <text:variable-set text:name="_VAR" text:value-type="string"> >+ <xsl:value-of select="'</VAR>'"/> >+ </text:variable-set> >+ </text:span> >+ </xsl:when> >+ <xsl:otherwise> >+ <text:span text:style-name="hlp_aux_tag"> >+ <text:variable-set text:name="VAR_" text:value-type="string"> >+ <xsl:value-of select="concat('<VAR ID="',@id,'">')"/> >+ </text:variable-set> >+ </text:span> >+ <xsl:apply-templates /> >+ <text:span text:style-name="hlp_aux_tag"> >+ <text:variable-set text:name="_VAR" text:value-type="string"> >+ <xsl:value-of select="'</VAR>'"/> >+ </text:variable-set> >+ </text:span> >+ </xsl:otherwise> >+ </xsl:choose> > </xsl:template> > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 94201
: 119150