diff --git a/VoGISRaumplanungPlot/metadata.txt b/VoGISRaumplanungPlot/metadata.txt index 4cc0eb9..27b5012 100644 --- a/VoGISRaumplanungPlot/metadata.txt +++ b/VoGISRaumplanungPlot/metadata.txt @@ -11,7 +11,7 @@ [general] name=VoGIS Raumplanung description=Create Plots from VoGIS Data. -version=0.1.3 +version=0.1.4 qgisMinimumVersion=2.0 qgisMaximumVersion=2.99 author=BergWerk GIS diff --git a/VoGISRaumplanungPlot/resources_rc.py b/VoGISRaumplanungPlot/resources_rc.py index 3ea9a8b..bb89000 100644 --- a/VoGISRaumplanungPlot/resources_rc.py +++ b/VoGISRaumplanungPlot/resources_rc.py @@ -2,7 +2,7 @@ # Resource object code # -# Created: Di. Mär 25 11:50:27 2014 +# Created: Di. Mär 25 15:02:01 2014 # by: The Resource Compiler for PyQt (Qt v4.8.4) # # WARNING! All changes made in this file will be lost! diff --git a/VoGISRaumplanungPlot/ui_vogisraumplanungplot.py b/VoGISRaumplanungPlot/ui_vogisraumplanungplot.py index 1bb8fde..fcfbd07 100644 --- a/VoGISRaumplanungPlot/ui_vogisraumplanungplot.py +++ b/VoGISRaumplanungPlot/ui_vogisraumplanungplot.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'ui_vogisraumplanungplot.ui' # -# Created: Tue Mar 25 11:50:27 2014 +# Created: Tue Mar 25 15:02:01 2014 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! diff --git a/VoGISRaumplanungPlot/ui_vogisraumplanungplotsettings.py b/VoGISRaumplanungPlot/ui_vogisraumplanungplotsettings.py index cf081d5..1274662 100644 --- a/VoGISRaumplanungPlot/ui_vogisraumplanungplotsettings.py +++ b/VoGISRaumplanungPlot/ui_vogisraumplanungplotsettings.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'ui_vogisraumplanungplotsettings.ui' # -# Created: Tue Mar 25 11:50:27 2014 +# Created: Tue Mar 25 15:02:01 2014 # by: PyQt4 UI code generator 4.10.3 # # WARNING! All changes made in this file will be lost! diff --git a/VoGISRaumplanungPlot/vrpcomposer/vrpprintcomposer.py b/VoGISRaumplanungPlot/vrpcomposer/vrpprintcomposer.py index beb1177..7e5812e 100644 --- a/VoGISRaumplanungPlot/vrpcomposer/vrpprintcomposer.py +++ b/VoGISRaumplanungPlot/vrpcomposer/vrpprintcomposer.py @@ -180,6 +180,9 @@ def export_all_features(self): self.__update_composer_items(self.settings.dkm_gemeinde(self.gem_name)['lyrnamegstk']) + if VRP_DEBUG is True: + QgsMessageLog.logMessage(u'paperWidth:{0} paperHeight:{1}'.format(composition.paperWidth(), composition.paperHeight()), DLG_CAPTION) + printer = QPrinter() printer.setOutputFormat(QPrinter.PdfFormat) printer.setOutputFileName(self.pdf_map) @@ -240,6 +243,7 @@ def export_all_features(self): QgsMapLayerRegistry.instance().removeMapLayers([lyr.id() for lyr in layers]) #output statistics if len(self.statistics) > 0: + printer.setPaperSize(QSizeF(210, 297), QPrinter.Millimeter) tabelle = self.__get_item_byid(self.comp_textinfo, 'TABELLE') if tabelle is None: self.iface.messageBar().pushMessage(u'Layout (Textinfo): Kein Textelement mit ID "TABELLE" vorhanden.', QgsMessageBar.CRITICAL) @@ -426,7 +430,7 @@ def __update_composer_items(self, oberthema, subthema=None, labels=None, gnrflae lbl[0].setText(txt) #self.composermap.updateItem() #self.composermap.updateCachedImage() - self.composermap.mapRenderer().updateFullExtent () + #self.composermap.mapRenderer().updateFullExtent () def __get_items(self, typ, composition=None): diff --git a/plugins.xml b/plugins.xml index 3936287..e647cb1 100644 --- a/plugins.xml +++ b/plugins.xml @@ -1,8 +1,8 @@ - + - 0.1.3 + 0.1.4 2.0.0 2.99.0 https://github.com/BergWerkGIS/VoGIS-Raumplanung/ diff --git a/vogisraumplanungplot.zip b/vogisraumplanungplot.zip index 9b33983..ba4afc2 100644 Binary files a/vogisraumplanungplot.zip and b/vogisraumplanungplot.zip differ