Oracle BI Publisher 中進行條件分頁和固定行分頁的方法

下列介紹於Oracle BI Publisher中進行條件分頁和固定行分頁的方法

1.任意條件分頁:
需要於條件中加上 break-after或者break-before來進行

如:


<?if:CURRENCY_CODE="NTD"?>

<xsl:attribute name="break-before">page</xsl:attribute>

<?end if?>



2.固定幾行進行分頁:

需要於條件中加上break-after或者break-before,在<?end for-each?>前面,如下方的例子中控制每頁5行進行分頁

<?if:position() mod 5 =0?>

< xsl:attribute name="break-before">page
</xsl:attribute>

< ?end if?>


留言

這個網誌中的熱門文章

TeknoParrot 模擬器介紹,俗稱《鸚鵡模擬器》

[轉貼] ASP.NET傳遞參數給Crystal Report做Export或Print的動作

[轉貼] Server 端Post資料到 .ashx