AODL.Document.Content.Text.FormatedText.GetHtml C# (CSharp) 메소드

GetHtml() 공개 메소드

Return the content as Html string
public GetHtml ( ) : string
리턴 string
		public string GetHtml()
		{
			string style	= ((TextStyle)this.Style).TextProperties.GetHtmlStyle();
			string html		= "<span ";
			string text		= this.GetTextWithHtmlControl();

			if (style.Length > 0)
				html		= html + style + ">\n";
			else
				html		+= ">\n";

			if (text.Length > 0)
				html		+= text;

			html			+= "</span>\n";

			html			= this.GetSubOrSupStartTag()+html+this.GetSubOrSupEndTag();

			return html;
		}