iainbrighton / PScribo

PowerShell documentation framework
MIT License
230 stars 35 forks source link

Feature Request: Set page orientation per section #81

Closed tpcarman closed 5 years ago

tpcarman commented 6 years ago

Feature request to set page orientation per section.

In some instances tables are too wide for portrait page orientation and have too many entries for a List Table.

It would be great to be able to set a global page orientation, yet still be able to override and set page orientation per section.

iainbrighton commented 6 years ago

I've been thinking about this and we can add an -Orientation parameter to the Section keyword. Obviously, Word output is fairly straightforward, but Html not so. How would you like to see Html output handled? Should there be an implicit PageBreak for every Section or just where the orientation is changed?

tpcarman commented 6 years ago

I think just where the orientation is changed. You can then always add a PageBreak if required elsewhere for Sections, which I do now. For my summary reports I don’t have the PageBreak for each main section, whereas for detailed reports I do.

On 10 Aug 2018, at 2:00 am, Iain Brighton notifications@github.com wrote:

I've been thinking about this and we can add an -Orientation parameter to the Section keyword. Obviously, Word output is fairly straightforward, but Html not so. How would you like to see Html output handled? Should there be an implicit PageBreak for every Section or just where the orientation is changed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.