Difference between revisions of "Tabulation addPagebreak"

From Catglobe Wiki
Jump to: navigation, search
(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:
[[Category:Using_CGScript_with_the_Tabulation_Module]]
+
{{HelpFiles}}
{{HelpFiles}}
+
 
===Tabulation_addPagebreak===
+
=== Tabulation_addPagebreak ===
  
 
Insert a page break
 
Insert a page break
  
===Syntax===
+
=== Syntax ===
  
 
Tabulation_addPagebreak();
 
Tabulation_addPagebreak();
  
 +
=== Return type ===
  
===Return type===
+
Empty.
  
Empty.
+
=== Examples ===
  
===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__
__NOTOC__
+
 
 +
 
 +
//Result: <br/>[[File:AddPagebreak1.jpg]]
 +
 
 +
[[File:AddPagebreak2.jpg]]
 +
[[Category:Using CGScript with the Tabulation Module]]

Latest revision as of 09: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"});


//Result:
AddPagebreak1.jpg

AddPagebreak2.jpg