Formatting via Skins not working correctly

Last post 10-21-2008, 10:30 AM by JBuys. 1 replies.
Sort Posts: Previous Next
  •  08-25-2008, 1:35 AM 284

    Formatting via Skins not working correctly

    Hi there,

    I created a new skin for Risks based on a simple 2 column table, i.e. column name in left column and column details in right column. The font for the entire table is set to Verdana 8pt and after dragging the various items from the Canvas of the Risk in the TeamSpec Panel, this formatting was preserved which was great.

    The problem is when I create a Skin based on this table and then run a Work Item Query to populate the document with the various Risks defined via TFS, the Content Controls all then display their text as Arial 12 pt. If I then click inside some (and only some) of the Content Controls and move out again, it then gets changed to Verdana 8pt as it should be, but this is not a viable solution obviously.

    I am sure this is not the intended behaviour? How do I get around this to ensure that the skins do format the text within Content Controls as they should be?

    Thanks in advance,

    -Pat Ramadass
  •  10-21-2008, 10:30 AM 291 in reply to 284

    Re: Formatting via Skins not working correctly

    Hello Pat,

    I attempted to repro this but couldn't get the same problem you seem to be experiencing.

    Let me explain a little about how the Word ML and API works to give you a little insight on how we have to have TeamSpec work.  When you have a selection highlighted inside Word to create a Skin, we look over the range for the selection.  This range includes most of the information for correctly formatting that selection if you copy it somewhere else (unless you copy it to another Word document, then Word does something completely different it turns out).  When I say 'most' of the information, it doesn't always include the information for anything that is outside the bounds of the selection.  So if you have an entire paragraph bolded, and have just a single word in there highlighted, you may not be getting the bold information in the selected range.  This makes it very difficult when formatting for a particular skin.

    It may be, that how you selected the document to create a new skin, it didn't pick up the 8pt font for the skin.

    Let me know if this fixes your problem.

    Thanks,
    ~Joe

View as RSS news feed in XML
Welcome!   Sign in | Join | Help