Is there anything inside Java that I can use out of the box to decide the default paper size based on the language?
I am creating a web application and you need to create a PDF document. Its size can be letter, legal, A4, etc., depending on the locale. From the web application I can get information about the localization of the visitor, such as country, etc.
source share