/** * Create a new CT_Document with all values Set to default */ internal override void OnDocumentCreate() { ctDocument = new CT_Document(); ctDocument.AddNewBody(); Settings = (XWPFSettings) CreateRelationship(XWPFRelation.SETTINGS,XWPFFactory.GetInstance()); CreateStyles(); ExtendedProperties expProps = GetProperties().ExtendedProperties; expProps.GetUnderlyingProperties().Application = (DOCUMENT_CREATOR); }