Aspose::Email::Common::Transform::HtmlToTextConverter Class Reference

Inherits Object.

Public Member Functions

System::String Convert (System::String html, HyperlinkRenderingCallback hyperlinkRenderingCallback)
 
System::String Convert (System::String html, bool showUrl)
 Converts the given HTML to plain text and returns the result. More...
 
 HtmlToTextConverter ()
 

Protected Member Functions

bool get_EndOfText ()
 
System::String PeekTag ()
 
System::String ParseTag (bool showUrl, bool &isHidden)
 
void EatInnerContent (System::String tag, bool showUrl)
 
char16_t Peek ()
 
void MoveAhead ()
 
void EatWhitespace ()
 
void EatWhitespaceToNextLine ()
 
bool EatQuotedValue (System::String &result)
 

Constructor & Destructor Documentation

◆ HtmlToTextConverter()

Aspose::Email::Common::Transform::HtmlToTextConverter::HtmlToTextConverter ( )

Member Function Documentation

◆ Convert() [1/2]

System::String Aspose::Email::Common::Transform::HtmlToTextConverter::Convert ( System::String  html,
bool  showUrl 
)

Converts the given HTML to plain text and returns the result.

Parameters
htmlHTML to be converted
Returns
Resulting plain text

◆ Convert() [2/2]

System::String Aspose::Email::Common::Transform::HtmlToTextConverter::Convert ( System::String  html,
HyperlinkRenderingCallback  hyperlinkRenderingCallback 
)

◆ EatInnerContent()

void Aspose::Email::Common::Transform::HtmlToTextConverter::EatInnerContent ( System::String  tag,
bool  showUrl 
)
protected

◆ EatQuotedValue()

bool Aspose::Email::Common::Transform::HtmlToTextConverter::EatQuotedValue ( System::String &  result)
protected

◆ EatWhitespace()

void Aspose::Email::Common::Transform::HtmlToTextConverter::EatWhitespace ( )
protected

◆ EatWhitespaceToNextLine()

void Aspose::Email::Common::Transform::HtmlToTextConverter::EatWhitespaceToNextLine ( )
protected

◆ get_EndOfText()

bool Aspose::Email::Common::Transform::HtmlToTextConverter::get_EndOfText ( )
protected

◆ MoveAhead()

void Aspose::Email::Common::Transform::HtmlToTextConverter::MoveAhead ( )
protected

◆ ParseTag()

System::String Aspose::Email::Common::Transform::HtmlToTextConverter::ParseTag ( bool  showUrl,
bool &  isHidden 
)
protected

◆ Peek()

char16_t Aspose::Email::Common::Transform::HtmlToTextConverter::Peek ( )
protected

◆ PeekTag()

System::String Aspose::Email::Common::Transform::HtmlToTextConverter::PeekTag ( )
protected