Does anyone know if it is possible to modify a DOORS object number to include or end with an alpha character. For example: |
Re: Modify Object Number to include or end with an alpha character DOORS "Object Number" has nothing to do with the numbering of titles by Word. DOORS Object Number is the position of the object inside the tree. It is a structural information inside the DOORS Database. So no, it is not possible modify "Object Number". (When the attribut "Object Heading" is not empty, DOORS use "Object Number" as an title number.) Pierre |
Re: Modify Object Number to include or end with an alpha character But you could, I suppose, have a couple attributes that do this work for you. The first attribute lets call it "ParagraphSpecial" houses an optional character to be used in place of the natural numbering; in your case one of your objects has "a" in this attribute and another a "b". The 2nd attribute lets call it "MyArtificialNumbering" would be an attribute DXL that retrieves the value from its parent and consults its own ParagraphSpecial, either appending the natural number e.g. "2" or using the Special character e.g. "b". Things gets sticky if you fail to include all sibling headings with consecutive special numbering; or when your special numbering includes digits. Thus you could replace the 1st string attribute above with a boolean one, that when true automatically re-numbers all its children with consecutive alpha characters, automatically replacing a natural "1" with "a", "2" with "b" etc. In your example, your object "1.2.3.1" would set this value true and therefore its level 5 children would be numbered "1.2.3.1.a", "1.2.3.1.b" etc. Getting rediculously out of hand this boolean attribute could instead be an enumerated one; where null means leave numbering numeric, but there are a few specific formats of numbering for the children; perhaps....
Things get sticky when dealing with non-heading text children; perhaps there needs to be an additional attribute specifying how to deal with them effectively. Perhaps a format of "(1)" or "(a)" for text objects compared to a format of ".1" or ".a" for headings. Don't go there, use the tool as it is as often as you can.
|
Re: Modify Object Number to include or end with an alpha character Louie...I've taken your lead and created a couple of User Attributes to recreate the desired Paragraph Number and added the Header text to it. One of the expected problems I face now is exporting to Word. The User Attributes do not get translated into Word Header information but as attributes. As you warned...it just gets more sticky. Michael |
Re: Modify Object Number to include or end with an alpha character MichaelPR - Fri Jan 07 09:25:01 EST 2011 and probably, after, Visual basic in Word ..... |
Re: Modify Object Number to include or end with an alpha character MichaelPR - Fri Jan 07 09:25:01 EST 2011 Yes, sticky. Forget it, use the native DOORS and Word Heading structures.
|