public void writeContent ( final OutputStream result ) throws IOException { switch ( this . type ) { case TAB_CENTER_ALIGN : result . write ( DocWriter . getISOBytes ( "\\tqc" ) ) ; break ; case TAB_RIGHT_ALIGN : result . write ( DocWriter . getISOBytes ( "\\tqr" ) ) ; break ; case TAB_DECIMAL_ALIGN : result . write ( DocWriter . getISOBytes ( "\\tqdec" ) ) ; break ; } result . write ( DocWriter . getISOBytes ( "\\tx" ) ) ; result . write ( intToByteArray ( this . position ) ) ; }
Writes the tab settings .