Click or drag to resize
HtmlParserOptions Class
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 Hierarchy

Namespace: Telerik.Windows.Documents.FormatProviders.Html.Parsing
Assembly: Telerik.Windows.Documents.FormatProviders.Html (in Telerik.Windows.Documents.FormatProviders.Html.dll) Version: 2017.2.614.40 (2017.2.614.40)
public class HtmlParserOptions

The HtmlParserOptions type exposes the following members.

Public methodHtmlParserOptions
Default constructor.
Public propertyAltText
Default text for alt attribute
Public propertyBreakBeforeBR
O/p newline before <br> or not?
Public propertyBurstSlides
Create slides on each h2 element
Public propertyCharEncoding
Character Encoding
Public propertyDocType
Public propertyDocTypeStr
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.
Public propertyDropEmptyParas
Discard empty p elements
Public propertyDropFontTags
Discard presentation tags
Public propertyEncloseBlockText
If true text in blocks is wrapped in <p>'s
Public propertyEncloseText
If true text at body is wrapped in <p>'s
Public propertyFixBackslash
Fix URLs by replacing \ with /
Public propertyFixComments
Fix comments with adjacent hyphens
Public propertyHideEndTags
Suppress optional end tags
Public propertyIndentAttributes
Newline+indent before each attribute
Public propertyIndentContent
Indent content of appropriate tags
Public propertyLiteralAttribs
If true attributes may use newlines
Public propertyLogicalEmphasis
Replace i by em and b by strong
Public propertyMakeClean
Remove presentational clutter
Public propertyNumEntities
Use numeric entities
Public propertyQuoteAmpersand
Output naked ampersand as &
Public propertyQuoteMarks
Output " marks as &quot;
Public propertyQuoteNbsp
Output non-breaking space as entity
Public propertyRawOut
Avoid mapping values > 127 to entities
Public propertySlidestyle
Style sheet for slides
Public propertySmartIndent
Does text/block level content affect indentation
Public propertySpaces
Default indentation
Public propertyTabSize
Tab size
Public propertyUpperCaseAttrs
Output attributes in upper not lower case
Public propertyUpperCaseTags
Output tags in upper not lower case
Public propertyWord2000
Draconian cleaning for Word2000
Public propertyWrapAsp
Wrap within ASP pseudo elements
Public propertyWrapAttributeValues
Wrap within attribute values
Public propertyWrapJste
Wrap within JSTE pseudo elements
Public propertyWrapLen
Default wrap margin
Public propertyWrapPhp
Wrap within PHP pseudo elements
Public propertyWrapScriptlets
Wrap within JavaScript string literals
Public propertyWrapSection
Wrap within <![ ... ]> section tags
Public propertyXhtml
Output XHTML
Public propertyXmlOut
Create output as XML
Public propertyXmlPi
Add <?xml?> for XML docs
Public propertyXmlPIs
If set to true PIs must end with ?>
Public propertyXmlSpace
If set to yes adds xml:space attr as needed
Public propertyXmlTags
Treat input as XML
See Also