![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How to have WEXP export Heading 2 as bold. Topic Summary: WEXP is changing 'Heading 2' to 'Heading 2 + No Bold' upon export Created On: 10-Jul-2007 22:01 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
When Paragraph heading is ' <WEXP Export Style:Heading 2>, the result after running WEXP is the style 'Heading 2 + No Bold' within the generated word doc when using template with Heading 2 defined.
How can this be corrected to allow exporting to Bold? |
|
![]() |
|
![]() |
|
I am a bit confused about the usage of "WEXP Export Style". This is a WEXP related attribute, defining the style for exporting views. It can have the values "book" or "table", thus your usage together with a format style is strange. From your post I would actually guess, that the very wording of your Heading is "<WEXP Export Style ...>" which also does not make much sense to me.
Anyway, the underling question is how can you confuse WEXP in the way you described? First, it might help to see the actual rich Text formatting of your Heading. If you add a layout DXL column with just one line of code: display richTextFragment(richText(obj."Object Heading")) you can get this information. I was not able to reproduce your problem, i.e. formatting a Heading 2 in DOORS in such a way that the Word format style was "Heading 2 + No bold", but I was able to create a similar output with italics: I formatted the Heading in DOORS such that the rtf String was "Heading 2 \i italic\i0 ", i.e., the words "Heading 2" was not changed, the word "italic" was set, well in italics. In DOORS, it looked like this: Heading 2 italics The Word template for Heading 2 was "bold + italic", and the resulting output was just reversed, i.e. "Heading 2" had the correct format style, the word "italic" was set in "Heading 2 + No italic". Like this Heading 2 italics Thus, the setting of "\i" in the rtf string actually did not force the font to italic, but actually toggled the "Italic" property of the font, equivalent to pressing the appropriate button in the word file. I was not able to get the same behaviour with the "bold" property, however. All of this does not solve your initial problem, therefore I would recommend that you check that your actual Heading text is free of additional rich Text features manually brought in by the user. Then the created format style should not be modified. Hope that helps, Peter Edited: 11-Jul-2007 at 10:13 by Peter Albert |
|
![]() |
|
![]() |
|
Thanks Peter,
That worked. I ran the DXL attribute script and it showed /b text /b0, I then removed all rich text bold, italics, etc. and it worked. Thanks again, --Greg |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.