Ziegler, 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.
The method is called QgsComposerItem::id() and you can get to it using Python or C++. 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. - Nathan On Fri, Nov 18, 2011 at 3:45 AM, Paolo Cavallini <cavall...@faunalia.it>wrote: > Il 17/11/2011 17:22, Möri Cedric ha scritto: > > 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. >> >> So under linux it's something like ~/.qgis/python/plugins/** >> easyprint/layouts/layouts.xml. >> > It should be easy to let the plugin read the project print layouts as well. > > -- > Paolo Cavallini > See: http://www.faunalia.it/pc > > > ______________________________**_________________ > Qgis-user mailing list > qgis-u...@lists.osgeo.org > http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user> >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer