Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: pageSize and pagePortrait
Topic Summary:
Created On: 31-Aug-2004 12:47
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 31-Aug-2004 12:47
User is offline View Users Profile Print this message


Richard Brecknell

Posts: 8
Joined: 25-Aug-2004

I have written a script to adjust the size of the object Text/heading field so that it will automatically fill an A3 landscape page (dependent on the other columns selected and their sizes). This works fine, except that I wanted to force the pageSize to A3 and the pagePortrait to Landscape. The problem is that these two functions keep failing, unless I have previously adjusted some page setups in DOORS. If I go into the page setup dialog and select OK, making no changes (even in a completely different module) the pageSize and pagePortrait function then work, but until I open that dialog and "OK" it, no changes seem to be made. Opening the page setup dialog and cancelling does not have any affect.

Has anyone seen this before and know of a work around?
Report this to a Moderator Report this to a Moderator
 31-Aug-2004 15:30
User is offline View Users Profile Print this message


Hugh Johnson

Posts: 27
Joined: 5-Aug-2004

Hi,

Two questions to help clarify the problem:-

    1. Is the module visible(e.g. Displayed so the user can see it)

    2. You say that to make your code work you have to have modified the page setups previously, do you mean in the same session?


-------------------------
Hugh Johnson

Westland Helicopters Ltd.
myurl

Edited: 31-Aug-2004 at 15:31 by Hugh Johnson
Report this to a Moderator Report this to a Moderator
 1-Sep-2004 09:43
User is offline View Users Profile Print this message


Richard Brecknell

Posts: 8
Joined: 25-Aug-2004

In the end I worked around it, by just setting the page setup to be the previously defined pageLayout "A3 landscape".

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.