Difference between revisions of "Tabulation setStartingPageNumber"

From Catglobe Wiki
Jump to: navigation, search
(Tag: visualeditor-switched)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{HelpFiles}}
 
{{HelpFiles}}
  
==== Tabulation_addFooterImage ====
+
==== Tabulation_setStartingPageNumber ====
  
Adds an image to the footer
+
Set the starting page number for the PDF report.
  
 
'''Syntax'''
 
'''Syntax'''
Line 9: Line 9:
 
Tabulation_setStartingPageNumber(''8'')
 
Tabulation_setStartingPageNumber(''8'')
  
'''Arguments'''
+
'''Arguments''' int pagenumber
int pagenumber
 
  
 
=== <span style="color:#DF8621">'''Examples'''</span> ===
 
=== <span style="color:#DF8621">'''Examples'''</span> ===
Line 22: Line 21:
 
</source>
 
</source>
  
[[category:Diagram/report generating CGScript functions]]
+
<br/>{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].''
 
+
''The pagenumber can be shown in the pdf by inserting $p in a paragraph. $P (capital P) shows the total number of pages.
 
 
{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].''
 
  
 
'''Availability'''
 
'''Availability'''
  
 
Version 6.0
 
Version 6.0
 +
[[Category:Using CGScript with the Tabulation Module]]

Latest revision as of 08:54, 5 June 2017


Tabulation_setStartingPageNumber

Set the starting page number for the PDF report.

Syntax

Tabulation_setStartingPageNumber(8)

Arguments int pagenumber

Examples

//Starting page number of the PDF report can be set:
//Needs a DCS

Tabulation_setStartingPageNumber(8);


Note Note: This function should be paired with function Tabulation_setShowResultAsPdf. The pagenumber can be shown in the pdf by inserting $p in a paragraph. $P (capital P) shows the total number of pages.

Availability

Version 6.0