AODL.Document.Export.Html.HTMLStyleBuilder.GetAGlobalStylAsHtml C# (CSharp) Метод

GetAGlobalStylAsHtml() публичный Метод

Gets the A global styl as HTML.
public GetAGlobalStylAsHtml ( IDocument document, string styleName ) : string
document IDocument The document.
styleName string Name of the style.
Результат string
		public string GetAGlobalStylAsHtml(IDocument document, string styleName)
		{ 
			string style		= "style=\"";

			try
			{
				if (document != null)
				{
				}
			}
			catch(Exception ex)
			{
				throw new AODLException("Exception while trying to build a HTML style from a global style:"+styleName, ex);
			}

			if (!style.EndsWith("; "))
				style	= "";
			else
				style	+= "\"";

			return style;
		}
	}