Change page orientation for only some pages in the resulting PDF (created out of html)
问题 I would like to change page orientation for just specific few pages in my PDF document. The PDF document is created out of html template using html2pdf. It goes like this: if the content of the page (typically a table) is too wide to be properly shown in portrait orientation, show page in landscape. Following the hint in [how to rotate pages into landscape and page content should be in portrait iTextpdf][1] [1]: how to rotate pages into landscape and page content should be in portrait