# Autogenerated pdf always in portrait mode

**URL:** <https://help.nextcloud.com/t/autogenerated-pdf-always-in-portrait-mode/135715>\
**Category:** ℹ️ Support\
**Tags:** nc22, pdfviewer, onlyoffice\
**Created:** [March 16, 2022, 3:04pm UTC](https://help.nextcloud.com/t/autogenerated-pdf-always-in-portrait-mode/135715 "2022-03-16T15:04:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akr](https://help.nextcloud.com/letter_avatar/akr/32/5_5575768a8748004e209b776fc1b2916d.png) [@akr](https://help.nextcloud.com/u/akr)\
**Post date:** [March 16, 2022, 3:04pm UTC](https://help.nextcloud.com/t/autogenerated-pdf-always-in-portrait-mode/135715/1 "2022-03-16T15:04:34Z")

</div>

I’m running NC 22, OnlyOffice 7 on debian bullseye. I’ve created a flow to generate pdf’s from i.e. xlsx files. This works, pdf is generated automatically.

But: I couldn’t achieve the following. I configure a xlsx file in OnlyOffice as landscape → the generated pdf in nextcloud is always portrait, which looks ugly for a landscape table. Note: I’m editing the xlsx file inline within OnlyOffice editor.

Is this working for you? Any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![akr](https://help.nextcloud.com/letter_avatar/akr/32/5_5575768a8748004e209b776fc1b2916d.png) [@akr](https://help.nextcloud.com/u/akr)\
**Post date:** [March 19, 2022, 7:26am UTC](https://help.nextcloud.com/t/autogenerated-pdf-always-in-portrait-mode/135715/2 "2022-03-19T07:26:08Z")

</div>

Solved.  
I was required to recreate the flow. Everything works as expected now.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 13, 2024, 1:59pm UTC](https://help.nextcloud.com/t/autogenerated-pdf-always-in-portrait-mode/135715/3 "2024-12-13T13:59:44Z")

</div>


