Use the following code, I’m not able to copy all the styles correctly, the copied document contains wrong font size:
and here the source code which copy the styles:
import com.aspose.words.*;
import lombok.extern.sl…...style called “Body Text | Ref Note”, with Font “Avenir Next LT...style is called “Body Text | Ref Note” and has Font “Avenir Next LT...