在 RTF 模板(BI 发布者)中的分页符上显示不同的页面



我试图在每个分页符后调用不同的页面,如下所示。这里的问题是我的条件 (test2( 只能显示在与标题/总页相同的页面中,而不能进入新页面。我尝试使用(按分页符拆分(甚至页面制动该部分,但它所做的一切都与标题出现在同一页面上。

页眉/页 1(

倒计时(,后跟总计/页 1(测试(

分页符然后是条件/页 2 (测试 2(

页眉/页3(倒计时(,后跟总计/页3(测试(

分页符然后是条件/页4(测试2(

<?template:countdown?>
Temp_Param
Recursive_Template
<?end template?>
**to call the total section** 
<?call-template:test?>
<?end body?> 
**this is to assign an after page break variable = 1**
<?xdoxslt:set_variable($_XDOCTX, 'Var', '1')?>
**to calculate the total section**
<?template:test?>
TOTAL   
<? format-number:Order_Total_Taxable_ID2;’999G999D99’?>     
<? format-number:Order_Total_Tax_ID3;’999G999D99’?> 
<?format-number:Order_Total_Gross_Amount_ID7;’999G999D99’?>
<?end template?>
**to call a different page**
<?if:xdoxslt:get_variable($_XDOCTX, 'Var')='1'?>
<?call-template:test2?>
<?end if?>
**different page after every page break**
**need to break into a new page**
<?template:test2?>
CONDITIONS
This Purchase order is subject to the following terms and conditions:
1.PRICE
TEST
2.DELIVERIES
TEST
<?end template?>

在需要分页符的位置,请尝试使用以下代码: 页

有关详细信息,请参阅此 Oracle 线程:https://community.oracle.com/thread/983330

最新更新