亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xhtml2fo.xsl

?? 使用fop進行html到PDF文件的生成
?? XSL
?? 第 1 頁 / 共 4 頁
字號:
                       parent::td)]">
    <fo:block xsl:use-attribute-sets="p-initial-first">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="blockquote">
    <fo:block xsl:use-attribute-sets="blockquote">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="pre">
    <fo:block xsl:use-attribute-sets="pre">
      <xsl:call-template name="process-pre"/>
    </fo:block>
  </xsl:template>

  <xsl:template name="process-pre">
    <xsl:call-template name="process-common-attributes"/>
    <!-- remove leading CR/LF/CRLF char -->
    <xsl:variable name="crlf"><xsl:text>&#xD;&#xA;</xsl:text></xsl:variable>
    <xsl:variable name="lf"><xsl:text>&#xA;</xsl:text></xsl:variable>
    <xsl:variable name="cr"><xsl:text>&#xD;</xsl:text></xsl:variable>
    <xsl:for-each select="node()">
      <xsl:choose>
        <xsl:when test="position() = 1 and self::text()">
          <xsl:choose>
            <xsl:when test="starts-with(., $lf)">
              <xsl:value-of select="substring(., 2)"/>
            </xsl:when>
            <xsl:when test="starts-with(., $crlf)">
              <xsl:value-of select="substring(., 3)"/>
            </xsl:when>
            <xsl:when test="starts-with(., $cr)">
              <xsl:value-of select="substring(., 2)"/>
            </xsl:when>
            <xsl:otherwise>
              <xsl:apply-templates select="."/>
            </xsl:otherwise>
          </xsl:choose>
        </xsl:when>
        <xsl:otherwise>
          <xsl:apply-templates select="."/>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:for-each>
  </xsl:template>

  <xsl:template match="address">
    <fo:block xsl:use-attribute-sets="address">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="hr">
    <fo:block xsl:use-attribute-sets="hr">
      <xsl:call-template name="process-common-attributes"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="div">
    <!-- need fo:block-container? or normal fo:block -->
    <xsl:variable name="need-block-container">
      <xsl:call-template name="need-block-container"/>
    </xsl:variable>
    <xsl:choose>
      <xsl:when test="$need-block-container = 'true'">
        <fo:block-container>
          <xsl:if test="@dir">
            <xsl:attribute name="writing-mode">
              <xsl:choose>
                <xsl:when test="@dir = 'rtl'">rl-tb</xsl:when>
                <xsl:otherwise>lr-tb</xsl:otherwise>
              </xsl:choose>
            </xsl:attribute>
          </xsl:if>
          <xsl:call-template name="process-common-attributes"/>
          <fo:block start-indent="0pt" end-indent="0pt">
            <xsl:apply-templates/>
          </fo:block>
        </fo:block-container>
      </xsl:when>
      <xsl:otherwise>
        <!-- normal block -->
        <fo:block>
          <xsl:call-template name="process-common-attributes"/>
          <xsl:apply-templates/>
        </fo:block>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template name="need-block-container">
    <xsl:choose>
      <xsl:when test="@dir">true</xsl:when>
      <xsl:when test="@style">
        <xsl:variable name="s"
                      select="concat(';', translate(normalize-space(@style),
                                                    ' ', ''))"/>
        <xsl:choose>
          <xsl:when test="contains($s, ';width:') or
                          contains($s, ';height:') or
                          contains($s, ';position:absolute') or
                          contains($s, ';position:fixed') or
                          contains($s, ';writing-mode:')">true</xsl:when>
          <xsl:otherwise>false</xsl:otherwise>
        </xsl:choose>
      </xsl:when>
      <xsl:otherwise>false</xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template match="center">
    <fo:block text-align="center">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="fieldset | form | dir | menu">
    <fo:block space-before="1em" space-after="1em">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <!--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
       List
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-->

  <xsl:template match="ul">
    <fo:list-block xsl:use-attribute-sets="ul">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:list-block>
  </xsl:template>

  <xsl:template match="li//ul">
    <fo:list-block xsl:use-attribute-sets="ul-nested">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:list-block>
  </xsl:template>

  <xsl:template match="ol">
    <fo:list-block xsl:use-attribute-sets="ol">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:list-block>
  </xsl:template>

  <xsl:template match="li//ol">
    <fo:list-block xsl:use-attribute-sets="ol-nested">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:list-block>
  </xsl:template>

  <xsl:template match="ul/li">
    <fo:list-item xsl:use-attribute-sets="ul-li">
      <xsl:call-template name="process-ul-li"/>
    </fo:list-item>
  </xsl:template>

  <xsl:template name="process-ul-li">
    <xsl:call-template name="process-common-attributes"/>
    <fo:list-item-label end-indent="label-end()"
                        text-align="end" wrap-option="no-wrap">
      <fo:block>
        <xsl:variable name="depth" select="count(ancestor::ul)" />
        <xsl:choose>
          <xsl:when test="$depth = 1">
            <fo:inline xsl:use-attribute-sets="ul-label-1">
              <xsl:value-of select="$ul-label-1"/>
            </fo:inline>
          </xsl:when>
          <xsl:when test="$depth = 2">
            <fo:inline xsl:use-attribute-sets="ul-label-2">
              <xsl:value-of select="$ul-label-2"/>
            </fo:inline>
          </xsl:when>
          <xsl:otherwise>
            <fo:inline xsl:use-attribute-sets="ul-label-3">
              <xsl:value-of select="$ul-label-3"/>
            </fo:inline>
          </xsl:otherwise>
        </xsl:choose>
      </fo:block>
    </fo:list-item-label>
    <fo:list-item-body start-indent="body-start()">
      <fo:block>
        <xsl:apply-templates/>
      </fo:block>
    </fo:list-item-body>
  </xsl:template>

  <xsl:template match="ol/li">
    <fo:list-item xsl:use-attribute-sets="ol-li">
      <xsl:call-template name="process-ol-li"/>
    </fo:list-item>
  </xsl:template>

  <xsl:template name="process-ol-li">
    <xsl:call-template name="process-common-attributes"/>
    <fo:list-item-label end-indent="label-end()"
                        text-align="end" wrap-option="no-wrap">
      <fo:block>
        <xsl:variable name="depth" select="count(ancestor::ol)" />
        <xsl:choose>
          <xsl:when test="$depth = 1">
            <fo:inline xsl:use-attribute-sets="ol-label-1">
              <xsl:number format="{$ol-label-1}"/>
            </fo:inline>
          </xsl:when>
          <xsl:when test="$depth = 2">
            <fo:inline xsl:use-attribute-sets="ol-label-2">
              <xsl:number format="{$ol-label-2}"/>
            </fo:inline>
          </xsl:when>
          <xsl:otherwise>
            <fo:inline xsl:use-attribute-sets="ol-label-3">
              <xsl:number format="{$ol-label-3}"/>
            </fo:inline>
          </xsl:otherwise>
        </xsl:choose>
      </fo:block>
    </fo:list-item-label>
    <fo:list-item-body start-indent="body-start()">
      <fo:block>
        <xsl:apply-templates/>
      </fo:block>
    </fo:list-item-body>
  </xsl:template>

  <xsl:template match="dl">
    <fo:block xsl:use-attribute-sets="dl">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="dt">
    <fo:block xsl:use-attribute-sets="dt">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <xsl:template match="dd">
    <fo:block xsl:use-attribute-sets="dd">
      <xsl:call-template name="process-common-attributes-and-children"/>
    </fo:block>
  </xsl:template>

  <!--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
       Table
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-->

  <xsl:template match="table">
    <fo:table-and-caption xsl:use-attribute-sets="table-and-caption">
      <xsl:call-template name="make-table-caption"/>
      <fo:table xsl:use-attribute-sets="table">
        <xsl:call-template name="process-table"/>
      </fo:table>
    </fo:table-and-caption>
  </xsl:template>

  <xsl:template name="make-table-caption">
    <xsl:if test="caption/@align">
      <xsl:attribute name="caption-side">
        <xsl:value-of select="caption/@align"/>
      </xsl:attribute>
    </xsl:if>
    <xsl:apply-templates select="caption"/>
  </xsl:template>

  <xsl:template name="process-table">
    <xsl:if test="@width">
      <xsl:attribute name="inline-progression-dimension">
        <xsl:choose>
          <xsl:when test="contains(@width, '%')">
            <xsl:value-of select="@width"/>
          </xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="@width"/>px</xsl:otherwise>
        </xsl:choose>
      </xsl:attribute>
    </xsl:if>
    <xsl:if test="@border or @frame">
      <xsl:choose>
        <xsl:when test="@border &gt; 0">
          <xsl:attribute name="border">
            <xsl:value-of select="@border"/>px</xsl:attribute>
        </xsl:when>
      </xsl:choose>
      <xsl:choose>
        <xsl:when test="@border = '0' or @frame = 'void'">
          <xsl:attribute name="border-style">hidden</xsl:attribute>
        </xsl:when>
        <xsl:when test="@frame = 'above'">
          <xsl:attribute name="border-style">outset hidden hidden hidden</xsl:attribute>
        </xsl:when>
        <xsl:when test="@frame = 'below'">
          <xsl:attribute name="border-style">hidden hidden outset hidden</xsl:attribute>
        </xsl:when>
        <xsl:when test="@frame = 'hsides'">
          <xsl:attribute name="border-style">outset hidden</xsl:attribute>
        </xsl:when>
        <xsl:when test="@frame = 'vsides'">
          <xsl:attribute name="border-style">hidden outset</xsl:attribute>
        </xsl:when>
        <xsl:when test="@frame = 'lhs'">
          <xsl:attribute name="border-style">hidden hidden hidden outset</xsl:attribute>
        </xsl:when>
        <xsl:when test="@frame = 'rhs'">
          <xsl:attribute name="border-style">hidden outset hidden hidden</xsl:attribute>
        </xsl:when>
        <xsl:otherwise>
          <xsl:attribute name="border-style">outset</xsl:attribute>
        </xsl:otherwise>
      </xsl:choose>
    </xsl:if>
    <xsl:if test="@cellspacing">
      <xsl:attribute name="border-spacing">
        <xsl:value-of select="@cellspacing"/>px</xsl:attribute>
      <xsl:attribute name="border-collapse">separate</xsl:attribute>
    </xsl:if>
    <xsl:if test="@rules and (@rules = 'groups' or
                      @rules = 'rows' or
                      @rules = 'cols' or
                      @rules = 'all' and (not(@border or @frame) or
                          @border = '0' or @frame and
                          not(@frame = 'box' or @frame = 'border')))">
      <xsl:attribute name="border-collapse">collapse</xsl:attribute>
      <xsl:if test="not(@border or @frame)">
        <xsl:attribute name="border-style">hidden</xsl:attribute>
      </xsl:if>
    </xsl:if>
    <xsl:call-template name="process-common-attributes"/>
    <xsl:apply-templates select="col | colgroup"/>
    <xsl:apply-templates select="thead"/>
    <xsl:apply-templates select="tfoot"/>
    <xsl:choose>
      <xsl:when test="tbody">
        <xsl:apply-templates select="tbody"/>
      </xsl:when>
      <xsl:otherwise>
        <fo:table-body xsl:use-attribute-sets="tbody">
          <xsl:apply-templates select="tr"/>
        </fo:table-body>
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>

  <xsl:template match="caption">
    <fo:table-caption xsl:use-attribute-sets="table-caption">
      <xsl:call-template name="process-common-attributes"/>
      <fo:block>
        <xsl:apply-templates/>
      </fo:block>
    </fo:table-caption>
  </xsl:template>

  <xsl:template match="thead">
    <fo:table-header xsl:use-attribute-sets="thead">
      <xsl:call-template name="process-table-rowgroup"/>
    </fo:table-header>
  </xsl:template>

  <xsl:template match="tfoot">
    <fo:table-footer xsl:use-attribute-sets="tfoot">
      <xsl:call-template name="process-table-rowgroup"/>
    </fo:table-footer>
  </xsl:template>

  <xsl:template match="tbody">
    <fo:table-body xsl:use-attribute-sets="tbody">
      <xsl:call-template name="process-table-rowgroup"/>
    </fo:table-body>
  </xsl:template>

  <xsl:template name="process-table-rowgroup">
    <xsl:if test="ancestor::table[1]/@rules = 'groups'">
      <xsl:attribute name="border">1px solid</xsl:attribute>
    </xsl:if>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产三级精品三级在线专区| 国产精品久久久久久亚洲伦 | 亚洲国产精品精华液2区45| 99re在线精品| 国产一区在线精品| 亚洲综合色婷婷| 久久精品一区二区三区不卡| 欧美日韩一区三区| 91丝袜美腿高跟国产极品老师 | 亚洲午夜免费电影| 日本一区二区视频在线| 欧美一级在线观看| 欧美综合亚洲图片综合区| 成人精品国产免费网站| 美美哒免费高清在线观看视频一区二区| 国产精品久久综合| 久久先锋影音av鲁色资源网| 3atv一区二区三区| 欧美在线看片a免费观看| 成人黄色大片在线观看| 国产伦精品一区二区三区免费| 日韩精品乱码av一区二区| 一区二区三区日韩精品视频| 中文字幕在线观看一区二区| 久久蜜桃av一区精品变态类天堂 | 成人欧美一区二区三区在线播放| 欧美精品一区二区三区久久久| 在线播放一区二区三区| 精品视频一区二区不卡| 欧美影院精品一区| 91成人网在线| 欧美日韩一区高清| 欧美性色综合网| 91传媒视频在线播放| 色综合久久综合| 91视频在线观看免费| a美女胸又www黄视频久久| 国产99久久久久久免费看农村| 韩国三级电影一区二区| 久久er精品视频| 男人的j进女人的j一区| 日韩精品亚洲专区| 日韩电影在线一区| 奇米影视一区二区三区小说| 日韩精品亚洲一区| 免费在线观看一区二区三区| 麻豆精品国产传媒mv男同| 国产一区二区三区不卡在线观看| 韩国精品免费视频| 国产.精品.日韩.另类.中文.在线.播放 | 欧美日韩一区二区三区不卡| 欧美三区在线观看| 日韩一区二区中文字幕| 欧美电影免费观看高清完整版在线| 日韩午夜精品电影| 国产喂奶挤奶一区二区三区| 国产日韩欧美一区二区三区综合| 国产精品三级av| 一区二区三区成人在线视频| 亚洲成a天堂v人片| 国内精品国产成人国产三级粉色| 国产乱妇无码大片在线观看| 99久久精品久久久久久清纯| 欧美天堂一区二区三区| 欧美一级片免费看| 国产午夜久久久久| 亚洲免费观看高清完整版在线观看| 亚洲一区二区影院| 美女爽到高潮91| 成人激情小说乱人伦| 欧美色综合影院| 精品欧美久久久| 黄色小说综合网站| a在线播放不卡| 欧美丰满嫩嫩电影| 国产午夜精品福利| 亚洲自拍偷拍av| 国内偷窥港台综合视频在线播放| www.日韩在线| 欧美一区二区三区视频在线观看 | 国产成人精品1024| 欧美做爰猛烈大尺度电影无法无天| 6080亚洲精品一区二区| 日本一区二区不卡视频| 视频一区视频二区在线观看| 国产成a人亚洲精| 欧美高清视频在线高清观看mv色露露十八| 欧美精品一区二区精品网| 亚洲桃色在线一区| 久久99久久99| 欧美综合一区二区三区| 国产色产综合产在线视频| 亚洲最色的网站| 国产精品12区| 欧美一区二区三区性视频| 中文字幕日韩av资源站| 精品一区二区在线播放| 欧美影视一区二区三区| 国产精品色哟哟网站| 麻豆91小视频| 欧美无砖砖区免费| 国产精品久久久久aaaa| 国产永久精品大片wwwapp| 欧美肥妇bbw| 亚洲精品乱码久久久久久| 国产成人高清视频| 精品少妇一区二区三区视频免付费 | 午夜视频在线观看一区| 99久久亚洲一区二区三区青草| 日韩精品一区二区三区四区视频 | 久久精品久久精品| 欧美日韩五月天| 一区二区三区欧美日| 粉嫩av一区二区三区在线播放| 欧美一级日韩免费不卡| 天堂va蜜桃一区二区三区| 色诱视频网站一区| 亚洲三级在线看| 大胆亚洲人体视频| 久久久久国产精品麻豆ai换脸| 麻豆国产精品视频| 日韩亚洲欧美在线观看| 午夜视频久久久久久| 欧美日韩小视频| 调教+趴+乳夹+国产+精品| 在线观看日韩毛片| 亚洲日本va午夜在线影院| 成人免费看的视频| 欧美国产精品v| 粉嫩蜜臀av国产精品网站| 久久久久久一级片| 国产福利一区二区三区视频在线 | 91麻豆国产精品久久| 一色桃子久久精品亚洲| 国产iv一区二区三区| 日本欧美一区二区在线观看| 欧美精品日韩精品| 丝瓜av网站精品一区二区| 91精品国产入口| 久久精品国产免费| 久久综合久久综合久久| 国产成人精品免费| 亚洲三级电影网站| 一本一道波多野结衣一区二区| 一区二区在线观看视频| 欧美午夜视频网站| 午夜激情久久久| 日韩一级免费一区| 韩日av一区二区| 欧美国产一区二区在线观看| av在线播放一区二区三区| 亚洲欧美国产三级| 欧美日韩国产大片| 免费欧美高清视频| 国产欧美一区二区精品性色 | 国产欧美视频在线观看| 成人小视频免费观看| 中文字幕一区二区三区四区不卡| 91黄色在线观看| 青青草精品视频| 国产人成亚洲第一网站在线播放| 99国产精品久久久久久久久久| 亚洲免费看黄网站| 91精品国产高清一区二区三区蜜臀 | 久久精品国产一区二区| 国产亚洲欧美一区在线观看| 成人午夜电影网站| 亚洲国产精品视频| 精品美女一区二区| 久久久久国产成人精品亚洲午夜| 99vv1com这只有精品| 丝袜美腿亚洲一区| 欧美激情一区不卡| 欧美日韩国产123区| 国产传媒欧美日韩成人| 亚洲一区二区三区中文字幕在线| 欧美日韩精品欧美日韩精品| 国产乱淫av一区二区三区| 伊人夜夜躁av伊人久久| 精品少妇一区二区三区视频免付费 | 欧美日韩免费一区二区三区| 免费成人在线视频观看| √…a在线天堂一区| 欧美一区二区三区视频在线观看 | 免费看日韩a级影片| 国产精品久久久久永久免费观看 | 日韩写真欧美这视频| 91一区二区在线| 韩国成人福利片在线播放| 亚洲精品视频在线看| 日韩欧美在线一区二区三区| 99re亚洲国产精品| 欧美日本视频在线| 国产成人激情av| 日本中文字幕一区二区视频| 欧美国产日韩在线观看| 日韩精品一区二区三区视频播放| 一本色道a无线码一区v| 精品一区二区三区的国产在线播放 | 欧美视频一区二区三区|