![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Replicating Main Column Heading Font in DXL Layout Topic Summary: Created On: 20-Feb-2007 05:58 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I need to mimic the Headings in the Main Column within a DXL Layout column. Does anyone know how to display the Headings in a DXL layout column so that they have the same font settings as they appear in the Main Column and are also preceeded by their heading number? The built in "Compare Modules" function can create such a DXL layout but when viewing the DXL code, there's not a lot to go on as Telelogic have embedded the detailed code somewhere else. ------------------------- Paul Miller Specification Practices Specialist, EuroCyber, Melbourne, Australia. Mobile: +61 (0)418 135 103 Web Site: http://www.eurocyber.biz E-mail: miller@eurocyber.biz">pmiller@eurocyber.biz |
|
![]() |
|
![]() |
|
I have used something like the following to display a copy of the main column in a layout DXL column:
const string MAIN_COLUMN_COPY_DXL = "pragma runLim, 0\n" //- "if (obj.\"Object Heading\" \"\" != \"\"){\n" //- "font(getCanvas, level(obj), HeadingsFont)\n" //- "displayRich(number(obj) \" \" obj.\"Object Heading\" \"\")}\n" //- "if (obj.\"Object Text\" \"\" != \"\"){\n" //- "font(getCanvas, level(obj), TextFont)\n" //- "displayRich(richTextWithOle(obj.\"Object Text\"))}\n" int Columns = 0 Column NewColumn = null Module OriginalModule = current // Build up a DXL column copying the main column look NewColumn = column(Columns) title (NewColumn, description(OriginalModule)) width (NewColumn, 200) dxl(column Columns, MAIN_COLUMN_COPY_DXL) Columns++ ------------------------- Pekka.Makinen@softqa.fi SoftQA Oy -http://www.softqa.fi/ |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.