ADTF
|
this class provides conversion methods between plain text strings and HTML strings More...
Classes | |
struct | tMapping |
Public Member Functions | |
tResult | ToHTML (const cString &strInput, cString &strOutputHTML) |
will convert a given string to string that is conform to html More... | |
tResult | FromHTML (const cString &strInputHTML, cString &strOutput) |
will convert a given html string to a plain text one More... | |
tResult | ShowMappings (cStringList &strHTML, cStringList &strString) |
this helper method will show the user all possible mappings More... | |
Private Member Functions | |
tResult | CreateMapping (cString strString, cString strHTML) |
inserts the data into the string maps More... | |
tResult | Initialize () |
Inits the maps for conversion. | |
Private Attributes | |
std::list< tMapping > | m_oStringMapping |
this class provides conversion methods between plain text strings and HTML strings
inserts the data into the string maps
[in] | strString | plain text |
[in] | strHTML | html text |
ERR_NOERROR |
will convert a given html string to a plain text one
[in] | strInputHTML | html string |
[out] | strOutput | plain text string |
ERR_NOERROR | everything is fine |
tResult ShowMappings | ( | cStringList & | strHTML, |
cStringList & | strString | ||
) |
this helper method will show the user all possible mappings
[out] | strHTML | list containing all html-string that will be replaced |
[out] | strString | lsit containing all characters that will be replaced |
ERR_NOERROR | everything is fine |