Hello,
Consider the document has this style ( present in styles.xml ):
<w:style w:type="character" w:styleId="CustomEmphasis">
<w:name w:val="Custom Emphasis"/>
<w:basedOn w:val="DefaultParagraphFon…...along with the style name: import com.aspose.words.*; public...