AODL.Document.Export.Html.OpenDocumentHtmlExporter.AppendHtml C# (CSharp) Метод

AppendHtml() приватный Метод

Appends the HTML.
private AppendHtml ( ContentCollection contentlist, string template ) : string
contentlist ContentCollection The contentlist.
template string The template.
Результат string
		private string AppendHtml(ContentCollection contentlist, string template)
		{
			try
			{
				HTMLContentBuilder htmlContentBuilder	= new HTMLContentBuilder();
				htmlContentBuilder.GraphicTargetFolder	= this._imgFolder;
				string htmlBody							= htmlContentBuilder.GetIContentCollectionAsHtml(this._document.Content);
				template								+= htmlBody;

				template		+= "</body>\n</html>";

				template		= this.SetMetaContent(template);
				
				return template;
			}
			catch(Exception)
			{
				throw;
			}
		}