Continuous page numbers on PDF export from Calc

In Writer, we can use Manual Break to change page orientation, while keeping page numbers continuous.

In Calc, how do we get continuous page numbers on PDF export if there’s different page i.e. sheet orientation?

If a solution for changing sheet orientation is new page style, than page numbering starts from 1.
It can be manually started from some number, but each orientation change has the same problem, so it’s not practical.
If we have, for example, sheets with P, P, L, P, P, L, L, P it doesn’t make sense to manually change page number.

Thanks to m.a.riosv:
Create new page styles Portait and Landscape and use for all pages except the first one. Unmark the option in page styles for ‘first page number’ on ‘Sheet’ tab.

Reported as https://bugs.documentfoundation.org/show_bug.cgi?id=102151.