Class HtmlParserOptions
HtmlParser options.
(c) 1998-2000 (W3C) MIT, INRIA, Keio University See HtmlParser.cs for the copyright notice. Derived from HTML HtmlParser Release 4 Aug 2000
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.FormatProviders.Html.Parsing
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class HtmlParserOptions
Constructors
HtmlParserOptions()
Default constructor.
Declaration
public HtmlParserOptions()
Properties
AltText
Default text for alt attribute
Declaration
public virtual string AltText { get; set; }
Property Value
System.String
|
BreakBeforeBR
O/p newline before <br> or not?
Declaration
public virtual bool BreakBeforeBR { get; set; }
Property Value
System.Boolean
|
BurstSlides
Create slides on each h2 element
Declaration
public virtual bool BurstSlides { get; set; }
Property Value
System.Boolean
|
CharEncoding
Character Encoding
Declaration
public virtual CharEncoding CharEncoding { get; set; }
Property Value
CharEncoding
|
DocType
DocTypeStr
DocType - user specified doctype omit | auto | strict | loose | fpi where the fpi is a string similar to "-//ACME//DTD HTML 3.14159//EN" Note: for fpi include the double-quotes in the string.
Declaration
public virtual string DocTypeStr { get; set; }
Property Value
System.String
|
DropEmptyParas
Discard empty p elements
Declaration
public virtual bool DropEmptyParas { get; set; }
Property Value
System.Boolean
|
DropFontTags
Discard presentation tags
Declaration
public virtual bool DropFontTags { get; set; }
Property Value
System.Boolean
|
EncloseBlockText
If true text in blocks is wrapped in <p>'s
Declaration
public virtual bool EncloseBlockText { get; set; }
Property Value
System.Boolean
|
EncloseText
If true text at body is wrapped in <p>'s
Declaration
public virtual bool EncloseText { get; set; }
Property Value
System.Boolean
|
FixBackslash
Fix URLs by replacing \ with /
Declaration
public virtual bool FixBackslash { get; set; }
Property Value
System.Boolean
|
FixComments
Fix comments with adjacent hyphens
Declaration
public virtual bool FixComments { get; set; }
Property Value
System.Boolean
|
HideEndTags
Suppress optional end tags
Declaration
public virtual bool HideEndTags { get; set; }
Property Value
System.Boolean
|
IndentAttributes
Newline+indent before each attribute
Declaration
public virtual bool IndentAttributes { get; set; }
Property Value
System.Boolean
|
IndentContent
Indent content of appropriate tags
Declaration
public virtual bool IndentContent { get; set; }
Property Value
System.Boolean
|
LiteralAttribs
If true attributes may use newlines
Declaration
public virtual bool LiteralAttribs { get; set; }
Property Value
System.Boolean
|
LogicalEmphasis
Replace i by em and b by strong
Declaration
public virtual bool LogicalEmphasis { get; set; }
Property Value
System.Boolean
|
MakeClean
Remove presentational clutter
Declaration
public virtual bool MakeClean { get; set; }
Property Value
System.Boolean
|
NumEntities
Use numeric entities
Declaration
public virtual bool NumEntities { get; set; }
Property Value
System.Boolean
|
QuoteAmpersand
Output naked ampersand as &
Declaration
public virtual bool QuoteAmpersand { get; set; }
Property Value
System.Boolean
|
QuoteMarks
Output " marks as "
Declaration
public virtual bool QuoteMarks { get; set; }
Property Value
System.Boolean
|
QuoteNbsp
Output non-breaking space as entity
Declaration
public virtual bool QuoteNbsp { get; set; }
Property Value
System.Boolean
|
RawOut
Avoid mapping values > 127 to entities
Declaration
public virtual bool RawOut { get; set; }
Property Value
System.Boolean
|
Slidestyle
Style sheet for slides
Declaration
public virtual string Slidestyle { get; set; }
Property Value
System.String
|
SmartIndent
Does text/block level content affect indentation
Declaration
public virtual bool SmartIndent { get; set; }
Property Value
System.Boolean
|
Spaces
Default indentation
Declaration
public virtual int Spaces { get; set; }
Property Value
System.Int32
|
TabSize
Tab size
Declaration
public virtual int TabSize { get; set; }
Property Value
System.Int32
|
UpperCaseAttrs
Output attributes in upper not lower case
Declaration
public virtual bool UpperCaseAttrs { get; set; }
Property Value
System.Boolean
|
UpperCaseTags
Output tags in upper not lower case
Declaration
public virtual bool UpperCaseTags { get; set; }
Property Value
System.Boolean
|
Word2000
Draconian cleaning for Word2000
Declaration
public virtual bool Word2000 { get; set; }
Property Value
System.Boolean
|
WrapAsp
Wrap within ASP pseudo elements
Declaration
public virtual bool WrapAsp { get; set; }
Property Value
System.Boolean
|
WrapAttributeValues
Wrap within attribute values
Declaration
public virtual bool WrapAttributeValues { get; set; }
Property Value
System.Boolean
|
WrapJste
Wrap within JSTE pseudo elements
Declaration
public virtual bool WrapJste { get; set; }
Property Value
System.Boolean
|
WrapLen
Default wrap margin
Declaration
public virtual int WrapLen { get; set; }
Property Value
System.Int32
|
WrapPhp
Wrap within PHP pseudo elements
Declaration
public virtual bool WrapPhp { get; set; }
Property Value
System.Boolean
|
WrapScriptlets
Wrap within JavaScript string literals
Declaration
public virtual bool WrapScriptlets { get; set; }
Property Value
System.Boolean
|
WrapSection
Wrap within <![ ... ]> section tags
Declaration
public virtual bool WrapSection { get; set; }
Property Value
System.Boolean
|
Xhtml
Output XHTML
Declaration
public virtual bool Xhtml { get; set; }
Property Value
System.Boolean
|
XmlOut
Create output as XML
Declaration
public virtual bool XmlOut { get; set; }
Property Value
System.Boolean
|
XmlPi
Add <?xml?> for XML docs
Declaration
public virtual bool XmlPi { get; set; }
Property Value
System.Boolean
|
XmlPIs
If set to true PIs must end with ?>
Declaration
public virtual bool XmlPIs { get; set; }
Property Value
System.Boolean
|
XmlSpace
If set to yes adds xml:space attr as needed
Declaration
public virtual bool XmlSpace { get; set; }
Property Value
System.Boolean
|
XmlTags
Treat input as XML
Declaration
public virtual bool XmlTags { get; set; }
Property Value
System.Boolean
|