From: S.Prabhu on 17 Mar 2010 03:44 I am using the WordML generated from the following code snippet for one the application we are developing. Str = ActiveDocument.Range.XML The format applied in the document like Bold, Italic, etc are not embedded in the string generated from the active document (only for few of the documents tested). Is there any way we could have a work around to get the format properties in WordML.
From: Yves Dhondt on 17 Mar 2010 08:36 They are as far as I can see. For example, I get Underline: <w:r wsp:rsidRPr="00A77F05"><w:rPr><w:u w:val="single"/></w:rPr><w:t>underline</w:t></w:r> Bold: <w:r wsp:rsidRPr="00A77F05"><w:rPr><w:b/></w:rPr><w:t>bold</w:t></w:r> Italics: <w:r wsp:rsidRPr="00A77F05"><w:rPr><w:i/></w:rPr><w:t>italics</w:t></w:r> Those examples are defined locally at the run level (meaning I just used the normal style and applied the formatting by hand). Depending on the style you are using, they could be defined elsewhere. What is the xml you are getting? Yves "S.Prabhu" <SPrabhu(a)discussions.microsoft.com> wrote in message news:1DCA42F6-9750-4D72-89FE-ECA44CDCC759(a)microsoft.com... >I am using the WordML generated from the following code snippet for one the > application we are developing. > > Str = ActiveDocument.Range.XML > > The format applied in the document like Bold, Italic, etc are not embedded > in the string generated from the active document (only for few of the > documents tested). > > Is there any way we could have a work around to get the format properties > in > WordML.
|
Pages: 1 Prev: Purge trailing space in a table Next: add multiple labels sizes to word as an new producer |