Fixes #80359 again: the pdf is generated in list format instead of a table. Also, field names are trasnlated into more human readable ones, and we filter undesried fields depending on the feature type.
Removed debugging statement.
Fixes ohiggins' #81616 (disable exporting to shp for raster layers) and minen's #81440
Fixed previous commit.
Merge pull request #69 from luisromangz/8.3-SNAPSHOT

Fixes minen's #80359 and #81440 and ohiggins' 81616