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 / TITLELAYOUT.XCT < prev    next >
Extensible Markup Language  |  2010-03-29  |  3KB  |  1 lines

  1. ∩╗┐<?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:variable name="fHeadingPresent" select="xd:aj_getPropByName('fLayoutHeadingPresent')"></xsl:variable><xsl:variable name="fSubheadingPresent" select="xd:aj_getPropByName('fLayoutSubheadingPresent')"></xsl:variable><xsl:variable name="fVerticalFillPresent" select="xd:aj_getPropByName('fLayoutVerticalFillPresent')"></xsl:variable><xsl:variable name="fVerticalOffsetPresent" select="xd:aj_getPropByName('fLayoutVerticalOffsetPresent')"></xsl:variable><xsl:template match="/"><table class="xdFormLayout"><xsl:attribute name="STYLE"><xsl:choose><xsl:when test="xd:aj_getPropByName('fTopLevelControl')">width:<xsl:value-of select="xd:aj_getPropByName('ViewWidth')"></xsl:value-of>;</xsl:when><xsl:otherwise>width:100%;</xsl:otherwise></xsl:choose></xsl:attribute><tbody><tr><xsl:attribute name="class"><xsl:choose><xsl:when test="$fHeadingPresent">xdTitleRowWithHeading</xsl:when><xsl:when test="$fSubheadingPresent">xdTitleRowWithSubHeading</xsl:when><xsl:when test="$fVerticalOffsetPresent">xdTitleRowWithOffsetBody</xsl:when><xsl:otherwise>xdTitleRow</xsl:otherwise></xsl:choose></xsl:attribute><xsl:if test="$fVerticalFillPresent"><td rowSpan="2" width="4%" class="xdVerticalFill"></td></xsl:if><td xd:layoutText="Click to add title" valign="bottom"><!-- _locID@xd:layoutText="Ghosted_text_content1"  _locComment="{StringCategory=TXT}" --><xsl:attribute name="class"><xsl:choose><xsl:when test="$fHeadingPresent">xdTitleCellWithHeading</xsl:when><xsl:when test="$fSubheadingPresent">xdTitleCellWithSubHeading</xsl:when><xsl:when test="$fVerticalOffsetPresent">xdTitleCellWithOffsetBody</xsl:when><xsl:otherwise>xdTitleCell</xsl:otherwise></xsl:choose></xsl:attribute><h1></h1></td></tr><xsl:choose><xsl:when test="$fHeadingPresent"><tr class="xdTitleHeadingRow"><td xd:layoutText="Click to add heading" valign="bottom" class="xdTitleHeadingCell"><!-- _locID@xd:layoutText="Ghosted_text_content2"  _locComment="{StringCategory=TXT}" --><h2></h2></td></tr></xsl:when></xsl:choose><xsl:choose><xsl:when test="$fSubheadingPresent"><tr class="xdTitleSubheadingRow"><td xd:layoutText="Click to add body text. Click to add body text. Click to add body text. Click to add body text. Click to add body text Click to add body text. Click to add body text. Click to add body text. Click to add body text. Click to add body text. Click to add body text. Click to add body text." valign="center" class="xdTitleSubheadingCell"><!-- _locID@xd:layoutText="Ghosted_text_content3"  _locComment="{StringCategory=TXT}" --><h6></h6></td></tr></xsl:when></xsl:choose><tr class="xdTableContentRow"><td xd:layoutText="Add tables" valign="top"><!-- _locID@xd:layoutText="Ghosted_text_content4"  _locComment="{StringCategory=TXT}" --><xsl:attribute name="class"><xsl:choose><xsl:when test="$fVerticalOffsetPresent">xdTableContentCellWithVerticalOffset</xsl:when><xsl:when test="$fVerticalFillPresent">xdTableContentCellWithVerticalFill</xsl:when><xsl:otherwise>xdTableContentCell</xsl:otherwise></xsl:choose></xsl:attribute><div><font size="2"></font></div></td></tr></tbody></table></xsl:template></xsl:stylesheet>