skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

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
System.Object
HtmlParserOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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

The DOCTYPE

Declaration
public virtual DocType DocType { get; set; }
Property Value
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 &quot;

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

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.