Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
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
Created page with "=== <span style="color:#DF8621">'''Examples'''</span> === <source lang="javascript"> //Footer TabulationParagraphStyle paragraphStyleFooter1 = new TabulationParagraphStyle();..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==== Tabulation_addFooterParagraph ====
Adds an paragraph to the footer
'''Syntax'''
Tabulation_addFooterParagraph(''TabulationParagraph'')
'''Arguments'''
*[[TabulationParagraph class|''TabulationParagraph'']]
=== <span style="color:#DF8621">'''Examples'''</span> ===
=== <span style="color:#DF8621">'''Examples'''</span> ===


Line 12: 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