ms word - DOCX openxml default character style -
i take new docx document single run , try add
<w:style w:type="character" w:default="1" w:styleid="qqq"> <w:rpr> <w:b/> </w:rpr> </w:style>
into word/styles.xml/w:styles. expect see text inside run bold, don't. run has no references other styles. if change w:type "paragraph", run becomes bold. ecma-376, seems style type='character' should affect runs. if doesn't, purpose of w:type="character"?
thanx
its fair question.
you can affect runs modifying w:docdefaults/w:docdefaults:
<w:styles xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"> <w:docdefaults> <w:rprdefault> <w:rpr>
Comments
Post a Comment