Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Tabulation addFooterParagraph: Difference between revisions

From Catglobe Wiki
No edit summary
No edit summary
 
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 08: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