Add function helps for $page, $numpages, $feature and $numfeatures

This commit is contained in:
Hugo Mercier 2012-10-04 13:53:28 +02:00
parent ea44e0f362
commit a588e1bc3c
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<h3>$feature function</h3>
In atlas generation, returns the current feature number that is iterated over on the coverage layer.
<h4>Syntax</h4>
<pre>$feature</pre>
<h4>Arguments</h4>
None
<h4>Example</h4>
<pre>$feature &rarr; 2</pre>

View File

@ -0,0 +1,12 @@
<h3>$numfeatures function</h3>
In atlas generation, returns the total number of features within the coverage layer.
<h4>Syntax</h4>
<pre>$numfeatures</pre>
<h4>Arguments</h4>
None
<h4>Example</h4>
<pre>$numfeatures &rarr; 42</pre>

View File

@ -0,0 +1,12 @@
<h3>$numpages function</h3>
Returns the total number of pages in the composition.
<h4>Syntax</h4>
<pre>$numpages</pre>
<h4>Arguments</h4>
None
<h4>Example</h4>
<pre>$numpages &rarr; 42</pre>

View File

@ -0,0 +1,12 @@
<h3>$page function</h3>
Returns the current page number within a composition.
<h4>Syntax</h4>
<pre>$page</pre>
<h4>Arguments</h4>
None
<h4>Example</h4>
<pre>$page &rarr; 2</pre>