Is there a way to either change the type of the Quick Part so Word recognizes it as a numeric or add some sort of XML to do the formatting I need? Or am I totally going down the wrong path? I tested putting the formatting that I need into a "PageNum" field that I inserted in the Header of another document and found this section of XML that contained the formatting code,\# $#,#0.00 : Here is the XML for one of the Quick Parts for which I'm having this problem (I think): I'm wondering if I can do something to the underlying XML to fix this. When I look at the properties of the Quick Part (highlight the Quick Part, click the Developer tab and click Properties), Word appears to be treating the Content Control as Text (it's applying the "Default Paragraph Style" and all the alternative But the corresponding Quick Part within the Word document just appears as 1000000, i.e. In Word with the Document Information Panel showing I can type a value into a numeric field and it appears correctly in the DIP. The Sharepoint fields are formatted to show thousands with a comma, e.g. Here's the situation: I have a Word template document that contains some Quick Parts corresponding to numeric Sharepoint fields in a document library. ![]() Word 2010 and Sharepoint 2010 are not playing nicely with each other (sort of).
0 Comments
Leave a Reply. |