Difference between revisions of "Tabulation addFooterParagraph"

From Catglobe Wiki
Jump to: navigation, search
 
Line 24: Line 24:
 
//Constants that are changed: $p to current page number and $P to total number of pages.  
 
//Constants that are changed: $p to current page number and $P to total number of pages.  
 
</source>
 
</source>
 +
 +
[[category:Diagram/report generating CGScript functions]]
 +
 +
 +
{{note}} ''This function should be paired with function [http://wiki.catglobe.com/index.php/Tabulation_setShowResultAsPdf Tabulation_setShowResultAsPdf].''
 +
 +
'''Availability'''
 +
 +
Version 6.0

Latest revision as of 09:47, 24 June 2016

Tabulation_addFooterParagraph

Adds an paragraph to the footer

Syntax

Tabulation_addFooterParagraph(TabulationParagraph)

Arguments

Examples

//Footer
TabulationParagraphStyle paragraphStyleFooter1 = new TabulationParagraphStyle();

//Inline 
Tabulation_addFooterParagraph(new TabulationParagraph(paragraphStyleFooter1, "Voxmeter for customer", textStyleHeaderFooter));

paragraphStyleFooter1.Alignment = "right";
Tabulation_addFooterParagraph(new TabulationParagraph(paragraphStyleFooter1, "Page $p of $P", textStyleHeaderFooter));
//Constants that are changed: $p to current page number and $P to total number of pages.


Note Note: This function should be paired with function Tabulation_setShowResultAsPdf.

Availability

Version 6.0