Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Pdf Exporter format
Hi,
I'm new with Vaadin. I am exporting a container with pdfExporter Addon. I want to export the container to an horizontal sheet. How can i do that?
Thanks!
I'm from Argentina, and fall in love with vaadin
Hello Tomas, are you talking about this Exporter addon https://vaadin.com/directory#!addon/exporter?
If yes, sorry currently it doesn't have such feature yet. I will take this into consideration and make an improvement in the future.
Haijian Wang: Hello Tomas, are you talking about this Exporter addon https://vaadin.com/directory#!addon/exporter?
If yes, sorry currently it doesn't have such feature yet. I will take this into consideration and make an improvement in the future.
Finally, i do it. I had to change this method in PdfFileBuilder
@Override
protected void resetContent() {
document = new Document(PageSize.A4.rotate());
table = new PdfPTable(getNumberofColumns());
try {
PdfWriter.getInstance(document, new FileOutputStream(file));
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (DocumentException e) {
e.printStackTrace();
}
document.open();
}
Have you decompiled the .jar File changed the Code and created a new .jar File?
@Haijan: Could you add this into your next release?
Thanks Dennis