More actions
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
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: This function should be paired with function Tabulation_setShowResultAsPdf.
Availability
Version 6.0