Hello DOORS community, |
Re: Moving tables in DOORS Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and DOORS |
Re: Moving tables in DOORS
Understand that the table cells you see in DOORS have a parent 'row' object which you never see, and each row has a 'table' header object you rarely see. Cells are two levels down from the header. When you grab the 'table' you grab all the rows and cells also.
Object o, oTable
for o in entire (current Module) do
{ if (table(o)) print identifier(o) "\tis a table header\n"
elseif(row(o) or cell(o))
{ oTable = getTable(o)
print identifier(oTable) "\tis table header for object: " identifier(o) "\n"
}
}
|
Re: Moving tables in DOORS llandale - Tue Apr 27 17:46:58 EDT 2010
Understand that the table cells you see in DOORS have a parent 'row' object which you never see, and each row has a 'table' header object you rarely see. Cells are two levels down from the header. When you grab the 'table' you grab all the rows and cells also.
Object o, oTable
for o in entire (current Module) do
{ if (table(o)) print identifier(o) "\tis a table header\n"
elseif(row(o) or cell(o))
{ oTable = getTable(o)
print identifier(oTable) "\tis table header for object: " identifier(o) "\n"
}
}
Colm |