Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Prab on August 23, 2013, 02:01:08 am

Title: Change page orientation in Linked Document
Post 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.
Title: Re: Change page orientation in Linked Document
Post by: ken.norcross on August 23, 2013, 04:15:44 am
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)
Title: Re: Change page orientation in Linked Document
Post by: Prab on August 23, 2013, 07:45:43 pm
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.
Title: Re: Change page orientation in Linked Document
Post by: Eve on August 26, 2013, 08:46:06 am
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.)