Difference between revisions of "Tabulation addFooterParagraph"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "=== <span style="color:#DF8621">'''Examples'''</span> === <source lang="javascript"> //Footer TabulationParagraphStyle paragraphStyleFooter1 = new TabulationParagraphStyle();...")
 
 
(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 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