private void addMetaData ( ) { document . addTitle ( getDocumentTitle ( ) ) ; document . addAuthor ( ReleaseInfoAdapter . getCompany ( ) ) ; document . addCreator ( "NextReports " + ReleaseInfoAdapter . getVersionNumber ( ) ) ; document . addSubject ( "Created by NextReports Designer" + ReleaseInfoAdapter . getVersionNumber ( ) ) ; document . addCreationDate ( ) ; document . addKeywords ( ReleaseInfoAdapter . getHome ( ) ) ; }
to opening the document