<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PdfCreatePageGroups shows first group name on all merged templates]]></title><description><![CDATA[<p>Hi,<br />
I created a playground workspace to try pdfCreatePagesGroup and PdfAddPageItem.<br />
Main one is a template with</p>
<pre><code> {{{pdfAddPageItem title=&quot;Main one item&quot;}}}
     {{{pdfCreatePagesGroup name=&quot;Main 1&quot;}}}
</code></pre>
<p>and similarly for main 2.<br />
Then I configure pdf-utils to create one pdf.<br />
I expect that main one will show group Main 1 and main 2 pages will show Main 2.<br />
but all documents show footer with Main 1 as group. Is this expected behavior?</p>
<p>My playground is here:<br />
&lt;iframe src=&quot;<a href="https://playground.jsreport.net/w/rashmim00/MeIwRGLm?embed=1" rel="nofollow">https://playground.jsreport.net/w/rashmim00/MeIwRGLm?embed=1</a>&quot; width=&quot;100%&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</p>
<p>Any help is appreciated,<br />
Thanks,<br />
Rashmi</p>
]]></description><link>https://forum.jsreport.net/topic/655/pdfcreatepagegroups-shows-first-group-name-on-all-merged-templates</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 08:42:48 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/655.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Aug 2018 15:58:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PdfCreatePageGroups shows first group name on all merged templates on Invalid Date]]></title><description><![CDATA[<p>Hi,<br />
I created a playground workspace to try pdfCreatePagesGroup and PdfAddPageItem.<br />
Main one is a template with</p>
<pre><code> {{{pdfAddPageItem title=&quot;Main one item&quot;}}}
     {{{pdfCreatePagesGroup name=&quot;Main 1&quot;}}}
</code></pre>
<p>and similarly for main 2.<br />
Then I configure pdf-utils to create one pdf.<br />
I expect that main one will show group Main 1 and main 2 pages will show Main 2.<br />
but all documents show footer with Main 1 as group. Is this expected behavior?</p>
<p>My playground is here:<br />
&lt;iframe src=&quot;<a href="https://playground.jsreport.net/w/rashmim00/MeIwRGLm?embed=1" rel="nofollow">https://playground.jsreport.net/w/rashmim00/MeIwRGLm?embed=1</a>&quot; width=&quot;100%&quot; height=&quot;400&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</p>
<p>Any help is appreciated,<br />
Thanks,<br />
Rashmi</p>
]]></description><link>https://forum.jsreport.net/post/3258</link><guid isPermaLink="true">https://forum.jsreport.net/post/3258</guid><dc:creator><![CDATA[rashmim00]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PdfCreatePageGroups shows first group name on all merged templates on Invalid Date]]></title><description><![CDATA[<p>Thank yo for the nice description and the example in playground. That is always the most helpful.</p>
<p>I fixed the problem <a href="https://github.com/jsreport/jsreport-pdf-utils/commit/ee724f5ecefe553c7132ebcef0ff34e15420b480" rel="nofollow">with this commit</a>.<br />
Could you please try it out on your local and let me know if it works for you?</p>
<pre><code>npm install jsreport/jsreport-pdf-utils --save
</code></pre>
]]></description><link>https://forum.jsreport.net/post/3273</link><guid isPermaLink="true">https://forum.jsreport.net/post/3273</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PdfCreatePageGroups shows first group name on all merged templates on Invalid Date]]></title><description><![CDATA[<p>Thank you Jan. Yes It works.<br />
One more request: Can Page numbers be according to Group too by that I mean that if Main 1 group has 1 page, show Page 1 of 1 instead of Page 1 of 2.</p>
]]></description><link>https://forum.jsreport.net/post/3279</link><guid isPermaLink="true">https://forum.jsreport.net/post/3279</guid><dc:creator><![CDATA[rashmim00]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PdfCreatePageGroups shows first group name on all merged templates on Invalid Date]]></title><description><![CDATA[<p>Hm, that doesn't seems to be consistent with how it works. We always parse the whole pdf before applying the merge.<br />
Can't you solve this with another group? Like you always put a group at the end of the &quot;appended&quot; template and from this you can find out how many pages are in particular appended pdf.</p>
]]></description><link>https://forum.jsreport.net/post/3292</link><guid isPermaLink="true">https://forum.jsreport.net/post/3292</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to PdfCreatePageGroups shows first group name on all merged templates on Invalid Date]]></title><description><![CDATA[<p>Ok...I will give that a try. Thank you.</p>
]]></description><link>https://forum.jsreport.net/post/3301</link><guid isPermaLink="true">https://forum.jsreport.net/post/3301</guid><dc:creator><![CDATA[rashmim00]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>