Book a Demo

Author Topic: Change page orientation in Linked Document  (Read 6118 times)

Prab

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Change page orientation in Linked Document
« 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.

ken.norcross

  • EA User
  • **
  • Posts: 63
  • Karma: +0/-0
    • View Profile
Re: Change page orientation in Linked Document
« Reply #1 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)
« Last Edit: August 23, 2013, 04:17:53 am by norcross »

Prab

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Change page orientation in Linked Document
« Reply #2 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.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Change page orientation in Linked Document
« Reply #3 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.)