// Create object for characterSpacingControl
CTCharacterSpacing characterspacing = wmlObjectFactory.createCTCharacterSpacing();
settings.setCharacterSpacingControl(characterspacing);
characterspacing.setVal(org.docx4j.wml.STCharacterSpacing.COMPRESS_PUNCTUATION);
// Create object for compat
CTCompat compat = wmlObjectFactory.createCTCompat();
settings.setCompat(compat);
// Create object for balanceSingleByteDoubleByteWidth
BooleanDefaultTrue booleandefaulttrue = wmlObjectFactory.createBooleanDefaultTrue();
compat.setBalanceSingleByteDoubleByteWidth(booleandefaulttrue);
// <w:themeFontLang w:val="en-US" w:eastAsia="zh-CN"/>
// Create object for themeFontLang
CTLanguage language = wmlObjectFactory.createCTLanguage();
settings.setThemeFontLang(language);