|
// -- FILE ------------------------------------------------------------------
// name : RtfHtmlCssStyle.cs
// project : RTF Framelet
// created : Jani Giannoudis - 2008.06.08
// language : c#
// environment: .NET 2.0
// copyright : (c) 2004-2013 by Jani Giannoudis, Switzerland
// --------------------------------------------------------------------------
using System;
using System.Collections.Specialized;
namespace Itenso.Rtf.Converter.Html
{
// ------------------------------------------------------------------------
public class RtfHtmlCssStyle : IRtfHtmlCssStyle
{
// ----------------------------------------------------------------------
public RtfHtmlCssStyle( string selectorName )
{
if ( selectorName == null )
{
throw new ArgumentNullException( "selectorName" );
}
this.selectorName = selectorName;
} // RtfHtmlCssStyle
// ----------------------------------------------------------------------
public NameValueCollection Properties
{
get { return properties; }
} // Properties
// ----------------------------------------------------------------------
public string SelectorName
{
get { return selectorName; }
} // SelectorName
// ----------------------------------------------------------------------
// members
private readonly NameValueCollection properties = new NameValueCollection();
private readonly string selectorName;
} // class RtfHtmlCssStyle
} // namespace Itenso.Rtf.Converter.Html
// -- EOF -------------------------------------------------------------------
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
👨 Senior .NET Software Engineer
🚀 My Open Source Projects
-
Time Period Library 👉
GitHub
-
Payroll Engine 👉
GitHub
Feedback and contributions are welcome.