Class StiHtmlTextWriter

java.lang.Object
com.stimulsoft.report.export.tools.html.StiHtmlTextWriter

public class StiHtmlTextWriter extends Object
Html text writer Copyright Stimulsoft
  • Constructor Details

    • StiHtmlTextWriter

      public StiHtmlTextWriter(BufferedWriter baseStream)
  • Method Details

    • write

      public void write(String st) throws IOException
      Write string
      Parameters:
      st -
      Throws:
      IOException
    • writeLine

      public void writeLine() throws IOException
      Write new line
      Throws:
      IOException
    • writeLine

      public void writeLine(String st) throws IOException
      Write string + new line
      Parameters:
      st -
      Throws:
      IOException
    • writeBeginTag

      public void writeBeginTag(String st) throws IOException
      Write begin tage
      Parameters:
      st -
      Throws:
      IOException
    • writeFullBeginTag

      public void writeFullBeginTag(String st) throws IOException
      Write full begin tag
      Parameters:
      st -
      Throws:
      IOException
    • writeEndTag

      public void writeEndTag(String st) throws IOException
      Write end tage
      Parameters:
      st -
      Throws:
      IOException
    • writeFullEndTag

      public void writeFullEndTag(String st) throws IOException
      Write ful end tag
      Parameters:
      st -
      Throws:
      IOException
    • writeAttribute

      public void writeAttribute(String attr, String value) throws IOException
      Write attribute
      Parameters:
      attr -
      value -
      Throws:
      IOException
    • writeStyleAttribute

      public void writeStyleAttribute(String attr, String value) throws IOException
      Write style attribute
      Parameters:
      attr -
      value -
      Throws:
      IOException
    • flush

      public void flush() throws IOException
      Flush
      Throws:
      IOException
    • incIndent

      public void incIndent()
      Increase indent
    • decIndent

      public void decIndent()
      Decrease indent
    • getMode

      public StiHtmlTextWriter.WriterMode getMode()
      Returns:
      the mode
    • setMode

      public void setMode(StiHtmlTextWriter.WriterMode mode)
      Parameters:
      mode - the mode to set
    • getIndent

      public int getIndent()
      Returns:
      the indent
    • setIndent

      public void setIndent(int indent)
      Parameters:
      indent - the indent to set
    • getStream

      public BufferedWriter getStream()
      Returns:
      the stream
    • setStream

      public void setStream(BufferedWriter stream)
      Parameters:
      stream - the stream to set