Working export pdf variants in the gui