protected void writeDocumentHeader ( ) throws IOException { writer . append ( "= " ) . append ( this . configuration . getTitle ( ) ) . append ( NEW_LINE ) ; if ( isAttributesFileSet ( ) ) { writer . append ( "include::" ) . append ( this . configuration . getAsciiDocAttributesFile ( ) ) . append ( "[]" ) . append ( NEW_LINE ) ; } if ( isAsciidoctorOutput ( ) ) { writer . append ( ":icons: font" ) . append ( NEW_LINE ) ; } writer . append ( NEW_LINE ) ; }
First method called when report is being created . This method is used to set the document title and AsciiDoc document attributes .