Is it possible in RPE, to automatically use a Landacape Page when a 'wide' image is found?
At the moment, we use the WEXP 'WEXP Section Break' to swap to a Landscape Page for a large image. The User has to set this up manually and then remember to put a 'Portrait' break in afterwards.
I have mirrored this functionality in RPE and works well.
However, rather than just emulating WEXP, it would be an advantage of RPE to be able to swap to a Landscape page automatically for the User.
Re: Image sizing and publishing2010-10-19T20:38:53ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
What I am envisioning is a query on a Container element that has a script associated with it that evaluates the results of the query for an image. If an image is found, the script evaluates the width of the image. If the image is too wide for the page, a subsequent Paragraph element would publish the image with a landscape Master Page. If the image would fit on a portrait page, a subsequent Paragraph element would publish the image normally.
Re: Image sizing and publishing2010-10-20T13:03:30ZThis is the accepted answer. This is the accepted answer.
- Dragos.Cojocari 270001QUCG
Dragos.Cojocari 270001QUCG1640 Posts
Re: Image sizing and publishing2010-10-22T09:12:58ZThis is the accepted answer. This is the accepted answer.Hey Bob,
not within RPE as the image's properties are not accessible in RPE's scripting context. But you could do this with a Word macro as you can access the images, their dimensions as well as the page's dimensions.
Message was edited by: Dragos.CojocariUpdated on 2010-10-22T09:12:58Z at 2010-10-22T09:12:58Z by Dragos.Cojocari
a.mansoor 270005F27D17 Posts
Re: Image sizing and publishing2012-10-23T16:38:10ZThis is the accepted answer. This is the accepted answer.This thread is old, but hopefully this might help someone
I am using DOORS 9.3 and RPE 126.96.36.199 and there is a way to detect when the current object is an image. One of the Object Attributes is Picture which returns the text True or False depending on whether or not the current object contains an image.