#region License Statement // Copyright (c) L.A.B.Soft. All rights reserved. // // The use and distribution terms for this software are covered by the // Common Public License 1.0 (http://opensource.org/licenses/cpl.php) // which can be found in the file CPL.TXT at the root of this distribution. // By using this software in any fashion, you are agreeing to be bound by // the terms of this license. // // You must not remove this notice, or any other, from this software. #endregion #region Using Statements #endregion namespace Textile { /// /// Interface through which the HTML formatted text /// will be sent. /// /// Clients of the TextileFormatter class will have to provide /// an outputter that implements this interface. Most of the /// time, it'll be the WebForm itself. public interface IOutputter { /// /// Method called just before the formatted text /// is sent to the outputter. /// void Begin(); /// /// Metohd called whenever the TextileFormatter wants to /// print some text. /// /// The formatted HTML text. void Write(string text); /// /// Metohd called whenever the TextileFormatter wants to /// print some text. This should automatically print an /// additionnal end of line character. /// /// The formatted HTML text. void WriteLine(string line); /// /// Method called at the end of the formatting. /// void End(); } }