Difference between revisions of "Tabulation addPagebreak"
(Created page with "Category:Using_CGScript_with_the_Tabulation_Module {{HelpFiles}} ===Tabulation_addPagebreak=== Insert a page break ===Syntax=== Tabulation_addPagebreak(); ===Re...") |
(Tag: visualeditor-switched) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | + | ||
− | ===Tabulation_addPagebreak=== | + | === Tabulation_addPagebreak === |
Insert a page break | Insert a page break | ||
− | ===Syntax=== | + | === Syntax === |
Tabulation_addPagebreak(); | Tabulation_addPagebreak(); | ||
+ | === Return type === | ||
− | + | Empty. | |
− | + | === Examples === | |
− | |||
<source lang="javascript"> | <source lang="javascript"> | ||
Tabulation_addParagraph(new TabulationParagraph(paragraphStyle,"Page 1",textStyle)); | Tabulation_addParagraph(new TabulationParagraph(paragraphStyle,"Page 1",textStyle)); | ||
Line 21: | Line 21: | ||
Tabulation_addParagraph(new TabulationParagraph(paragraphStyle,"Page 2",textStyle)); | Tabulation_addParagraph(new TabulationParagraph(paragraphStyle,"Page 2",textStyle)); | ||
createCrossDiagram({"Q0"}, {"PB_Region"}); | createCrossDiagram({"Q0"}, {"PB_Region"}); | ||
− | </source> | + | </source> __NOTOC__ |
− | + | ||
+ | |||
+ | //Result: <br/>[[File:AddPagebreak1.jpg]] | ||
+ | |||
+ | [[File:AddPagebreak2.jpg]] | ||
+ | [[Category:Using CGScript with the Tabulation Module]] |
Latest revision as of 08:50, 5 June 2017
Tabulation_addPagebreak
Insert a page break
Syntax
Tabulation_addPagebreak();
Return type
Empty.
Examples
Tabulation_addParagraph(new TabulationParagraph(paragraphStyle,"Page 1",textStyle));
createCrossDiagram({"Q0"}, {"PB_Gender"});
Tabulation_addPagebreak();
Tabulation_addParagraph(new TabulationParagraph(paragraphStyle,"Page 2",textStyle));
createCrossDiagram({"Q0"}, {"PB_Region"});