Class XMQPrintState

java.lang.Object
org.libxmq.imp.XMQPrintState

public class XMQPrintState extends Object
The state used while printing a document with the XMQPrinter.
  • Constructor Details

    • XMQPrintState

      public XMQPrintState()
      Creates an empty print state.
  • Method Details

    • indent

      public void indent()
      Appends the current indentation.
    • setOutputSettings

      public void setOutputSettings(OutputSettings os)
      Sets the output settings used when printing, compact, indentation etc.
      Parameters:
      os - The output settings.
    • defaultTheme

      public void defaultTheme()
      Installs the default theme.
    • buffer

      public StringBuilder buffer()
      Returns the buffer holding the rendered output.
      Returns:
      The output buffer.