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.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
6 replies Latest Post - 2012-10-23T16:38:10Z by a.mansoor
Pinned topic Image sizing and publishing
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-23T16:38:10Z at 2012-10-23T16:38:10Z by a.mansoor
Re: Image sizing and publishing2010-10-19T20:38:53Z in response to SystemAdminIs it possible to detect an image programmatically? Further, is it possible to determine the width of the image programmatically, all before actually exporting the image?
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.
Dragos.Cojocari 270001QUCG1608 Posts
Dragos.Cojocari 270001QUCG1608 PostsACCEPTED ANSWER
Re: Image sizing and publishing2010-10-22T09:12:58Z in response to SystemAdminHey 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 PostsACCEPTED ANSWER
Re: Image sizing and publishing2012-10-23T16:38:10Z in response to SystemAdminThis thread is old, but hopefully this might help someone
I am using DOORS 9.3 and RPE 220.127.116.11 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.