Need help to render text with following style definition

Home Forums WordprocessingML Need help to render text with following style definition

This topic contains 0 replies, has 1 voice, and was last updated by  mowais 5 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7885

    mowais
    Participant

    I have following style definition.

    <w:style w:type="paragraph" w:styleId="Heading2">
    	<w:name w:val="heading 2"/>
    	<w:basedOn w:val="Normal"/>
    	<w:next w:val="Normal"/>
    	<w:link w:val="Heading2Char"/>
    	<w:uiPriority w:val="99"/>
    	<w:qFormat/>
    	<w:pPr>
    		<w:keepNext/>
    		<w:outlineLvl w:val="1"/>
    	</w:pPr>
    	<w:rPr>
    		<w:rFonts w:ascii="SW10BP" w:hAnsi="SW10BP" w:cs="SW10BP"/>
    		<w:sz w:val="24"/>
    		<w:szCs w:val="24"/>
    	</w:rPr>
    </w:style>
    
    <w:style w:type="character" w:customStyle="1" w:styleId="Heading2Char">
    	<w:name w:val="Heading 2 Char"/>
    	<w:basedOn w:val="DefaultParagraphFont"/>
    	<w:link w:val="Heading2"/>
    	<w:uiPriority w:val="99"/>
    	<w:rPr>
    		<w:rFonts w:ascii="Cambria" w:hAnsi="Cambria" w:cs="Cambria"/>
    		<w:b/>
    		<w:bCs/>
    		<w:i/>
    		<w:iCs/>
    		<w:sz w:val="28"/>
    		<w:szCs w:val="28"/>
    		<w:lang w:val="x-none" w:eastAsia="en-US"/>
    	</w:rPr>
    </w:style>

    And following paragraph definition

    <w:p w:rsidR="00964377" w:rsidRDefault="00C64928">
    	<w:pPr>
    		<w:pStyle w:val="Heading2"/>
    		<w:ind w:left="720" w:hanging="720"/>
    		<w:rPr>
    			<w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" w:cs="Times New Roman"/>
    			<w:b/>
    			<w:bCs/>
    			<w:sz w:val="20"/>
    			<w:szCs w:val="20"/>
    		</w:rPr>
    	</w:pPr>
    	<w:r>
    		<w:rPr>
    			<w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" w:cs="Times New Roman"/>
    			<w:b/>
    			<w:bCs/>
    			<w:sz w:val="20"/>
    			<w:szCs w:val="20"/>
    		</w:rPr>
    		<w:t>1.</w:t>
    	</w:r>
    	<w:r>
    		<w:rPr>
    			<w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" w:cs="Times New Roman"/>
    			<w:b/>
    			<w:bCs/>
    			<w:sz w:val="20"/>
    			<w:szCs w:val="20"/>
    		</w:rPr>
    		<w:tab/>
    		<w:t>DEFINITIONS</w:t>
    	</w:r>
    </w:p>

    Word renders it non-Italic form, while the linked character style has the Italic property. How can I decide not to apply Italic here.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.