home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.tcs3.com
/
ftp.tcs3.com.tar
/
ftp.tcs3.com
/
DRIVERS
/
Audio
/
Office2010
/
InfoPath.en-us
/
InfLR.cab
/
IPDSINTL.DLL_1033
/
HTML
/
RICHTEXT.XCT
< prev
next >
Wrap
Extensible Markup Language
|
2010-03-29
|
4KB
|
1 lines
<?xml version="1.0" encoding="UTF-8"?><!-- _lcid="1033" _version="" --><!-- _LocalBinding --><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"><xsl:output method="html"></xsl:output><xsl:param name="XPath"></xsl:param><xsl:param name="IsSecondaryDS"></xsl:param><xsl:variable name="fConvert" select="xd:aj_getPropByName('fConvert')"></xsl:variable><xsl:variable name="fLabelAutoGeneration" select="xd:aj_getPropByName('labelAutoGeneration')"></xsl:variable><xsl:variable name="fAutoCMEMode" select="xd:aj_getPropByName('fAutoCMEMode')"></xsl:variable><xsl:variable name="fControlOnlyMode" select="xd:aj_getPropByName('fControlOnlyMode')"></xsl:variable><xsl:variable name="scriptingID" select="xd:aj_getComponentID()"></xsl:variable><xsl:variable name="fInsideDataTable" select="xd:aj_getPropByName('fInsideDataTable')"></xsl:variable><xsl:variable name="fTopLevelControl" select="xd:aj_getPropByName('fTopLevelControl')"></xsl:variable><xsl:variable name="ViewWidth" select="xd:aj_getPropByName('ViewWidth')"></xsl:variable><xsl:variable name="fDirLTR" select="xd:aj_getPropByName('fDirLTR')"></xsl:variable><xsl:variable name="fInsideAppendOnly" select="xd:aj_getPropByName('fInsideAppendOnly')"></xsl:variable><xsl:template match="*|@*"><xsl:if test="$fLabelAutoGeneration and not($fAutoCMEMode) and not($fControlOnlyMode) and not($fConvert) and not($fInsideDataTable) and not($fInsideAppendOnly) and string($XPath) != ''"><xsl:value-of disable-output-escaping="yes" select="xd:aj_getLabelHTML('richtext', .)"></xsl:value-of>:</xsl:if><SPAN HIDEFOCUS="true" TITLE="" xd:CtrlId="{$scriptingID}" xd:xctname="RichText" xd:aj_bound0="innerhtml" tabIndex="0"><xsl:attribute name="xd:aj_tabIndex"><xsl:choose><xsl:when test="$fInsideAppendOnly">-1</xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:attribute><xsl:attribute name="CLASS"><xsl:choose><xsl:when test="$fDirLTR">xdRichTextBox</xsl:when><xsl:otherwise>xdRichTextBoxRTL</xsl:otherwise></xsl:choose></xsl:attribute><xsl:if test="$IsSecondaryDS"><xsl:attribute name="xd:disableEditing">yes</xsl:attribute></xsl:if><xsl:if test="$XPath"><xsl:if test="xd:aj_getIsAppendOnlyValue(.)"><xsl:attribute name="xd:aj_style_expr_0">not(<xsl:value-of select="$XPath"></xsl:value-of>)</xsl:attribute><xsl:attribute name="xd:aj_style_value_0">DISPLAY: none; caption:<xsl:value-of select="xd:aj_getAppendOnlyHideInPrintViewRuleName()"></xsl:value-of></xsl:attribute></xsl:if><xsl:attribute name="STYLE"><xsl:choose><xsl:when test="$fTopLevelControl">width:<xsl:value-of select="$ViewWidth"></xsl:value-of>;</xsl:when><xsl:when test="$fInsideAppendOnly">border-right: #dcdcdc 1pt; border-top: #dcdcdc 1pt; border-left: #dcdcdc 1pt; border-bottom: #dcdcdc 1pt; overflow-x: visible; width:100%; white-space: normal; background-color: transparent;</xsl:when><xsl:otherwise>width:100%;</xsl:otherwise></xsl:choose><xsl:if test="not($fInsideAppendOnly)">height:50px;</xsl:if></xsl:attribute><xsl:attribute name="xd:binding"><xsl:value-of select="$XPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:aj_type">0</xsl:attribute><xsl:attribute name="xd:aj_node_innerhtml"><xsl:value-of select="$XPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:aj_attrtype_innerhtml">xml</xsl:attribute><xsl:attribute name="xd:aj_uniqueid_innerhtml"><xsl:value-of select="xd:aj_getNodeID(.)"></xsl:value-of></xsl:attribute><xsl:if test="$fInsideAppendOnly"><xsl:attribute name="xd:disableEditing">yes</xsl:attribute></xsl:if><xsl:copy-of select="node()"></xsl:copy-of></xsl:if></SPAN></xsl:template></xsl:stylesheet>