ddc
Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
HTML Class Reference

#include <HTMLConv.h>

Classes

struct  offset_range
 

Public Member Functions

 HTML ()
 
string GetTextFromHtmlFile (string FileName)
 
string GetTextFromHTMLBuffer (const char *Buffer, size_t BufferLen)
 
unsigned long getOffset (unsigned long off)
 

Public Attributes

bool m_bCollectOffsets
 

Private Member Functions

bool checkTag (const string &str, const char *tag)
 
void addOffset (unsigned long)
 

Private Attributes

vector< offset_rangeoffsets
 

Constructor & Destructor Documentation

◆ HTML()

HTML::HTML ( )
inline

References addOffset(), checkTag(), getOffset(), GetTextFromHTMLBuffer(), and GetTextFromHtmlFile().

Here is the call graph for this function:

Member Function Documentation

◆ GetTextFromHtmlFile()

string HTML::GetTextFromHtmlFile ( string  FileName)

References GetTextFromHTMLBuffer().

Referenced by HTML().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTextFromHTMLBuffer()

string HTML::GetTextFromHTMLBuffer ( const char *  Buffer,
size_t  BufferLen 
)

References addOffset(), agrave, Auml, auml, checkTag(), eacute, egrave, offsets, Ouml, ouml, szlig, Uuml, and uuml.

Referenced by GetTextFromHtmlFile(), HTML(), and CIndexDocument::NormalizeDocumentBuffer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOffset()

unsigned long HTML::getOffset ( unsigned long  off)

References m_bCollectOffsets, and offsets.

Referenced by HTML().

Here is the caller graph for this function:

◆ checkTag()

bool HTML::checkTag ( const string &  str,
const char *  tag 
)
private

Referenced by GetTextFromHTMLBuffer(), and HTML().

Here is the caller graph for this function:

◆ addOffset()

void HTML::addOffset ( unsigned long  off)
private

References m_bCollectOffsets, and offsets.

Referenced by GetTextFromHTMLBuffer(), and HTML().

Here is the caller graph for this function:

Member Data Documentation

◆ m_bCollectOffsets

bool HTML::m_bCollectOffsets

Referenced by addOffset(), and getOffset().

◆ offsets

vector<offset_range> HTML::offsets
private

The documentation for this class was generated from the following files: