Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Prab on August 23, 2013, 02:01:08 am
-
I have a linked document associated with a Package. How do I change page orientation from 'Portrait' to 'Landscape'. I need to do this to accommodate a wide table.
-
right click in the linked doc, and go to printer setup (File->Printer setup)
(manual fix, do not know of any API for this, have not looked for it)
-
Now, the linked document does show the change to Landscape orientation. However, when I generate a report, its only portrait! Any further inputs will help.
PS: I am using Document Fragments. The linked document is consumed into a document fragment which is part of the main template.
-
Page orientation will only change at a section break. So you would need to insert a section break immediately before your linked document (and after to restore the page layout to normal.)