AODL.Document.Export.Html.OpenDocumentHtmlExporter.SetMetaContent C# (CSharp) Method

SetMetaContent() private method

Sets the content of the meta.
private SetMetaContent ( string text ) : string
text string The text.
return string
		private string SetMetaContent(string text)
		{
			try
			{
				string metaContent	= ((IHtml)this._document.DocumentMetadata).GetHtml();

				if (metaContent != String.Empty)
					text			= text.Replace("<!--meta-->", metaContent);
			}
			catch(Exception)
			{
				//unhandled only meta content wouldn't be displayed
			}

			return text;
		}