Ziegler,<div><br></div><div>Just thought I would let you know. I added a method a while ago that will hopefully help making map books using composer layouts a bit easier. I added a composer item id which you can assign in the UI and then reference in the code. The ID/Name is just a string so you can use any convention for naming you composer items, any composer item can have a id/name e.g you could name a map frame "overview" and then reference this to put the overview window in that map frame; or name a text label "Title" and then put the map title in there.<br>
<br>The method is called QgsComposerItem::id() and you can get to it using Python or C++. </div><div><br></div><div>Would love to see EasyPrint use composer layouts to generate map books, I know a lot of users would love it. Hopefully this will help you.</div>
<div><br></div><div>- Nathan<br><br><div class="gmail_quote">On Fri, Nov 18, 2011 at 3:45 AM, Paolo Cavallini <span dir="ltr"><<a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Il 17/11/2011 17:22, Möri Cedric ha scritto:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The templates are stored in a xml file (layouts.xml), which you should find in the plugins directory in your home directory where easyprint is installed.<br>
<br>
So under linux it's something like ~/.qgis/python/plugins/<u></u>easyprint/layouts/layouts.xml.<br>
</blockquote></div>
It should be easy to let the plugin read the project print layouts as well.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Paolo Cavallini<br>
See: <a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br></div>