You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have layouts containing HTML elements with formula like this: [%@layout_name%]
The formulas does not update/show on the exported pdf .
I solved the problem adding a line to refresh the layout before printing: exporter.layout().refresh()
…..
# Do the export process
exporter = QgsLayoutExporter(cView)
#refresh the layout before printing
exporter.layout().refresh()
# Allow export cancelation
QCoreApplication.processEvents()
self.dlg.buttonBox.rejected.connect(self.stopProcessing)
….
I tested a normal layout and it worked. I did not test it with atlas.
Could you update update the code?
I would appreciate if you mention my name with this small (but important) contribution.
Regards
The text was updated successfully, but these errors were encountered:
I have layouts containing HTML elements with formula like this: [%@layout_name%]
The formulas does not update/show on the exported pdf .
I solved the problem adding a line to refresh the layout before printing: exporter.layout().refresh()
…..
….
I tested a normal layout and it worked. I did not test it with atlas.
Could you update update the code?
I would appreciate if you mention my name with this small (but important) contribution.
Regards
The text was updated successfully, but these errors were encountered: