2022-11-19 00:10:00 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=11" / >
2024-02-16 21:59:07 +01:00
< meta name = "generator" content = "Doxygen 1.10.0" / >
2022-11-19 00:10:00 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > LogDoctor: RichText Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2024-02-16 21:59:07 +01:00
< script type = "text/javascript" src = "clipboard.js" > < / script >
< script type = "text/javascript" src = "cookie.js" > < / script >
2022-11-19 00:10:00 +01:00
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr id = "projectrow" >
< td id = "projectlogo" > < img alt = "Logo" src = "dox_logo.png" / > < / td >
< td id = "projectalign" >
2024-02-16 22:18:16 +01:00
< div id = "projectname" > LogDoctor< span id = "projectnumber" >   4.00< / span >
2022-11-19 00:10:00 +01:00
< / div >
2023-02-12 23:33:34 +01:00
< div id = "projectbrief" > Parse Apache2/Nginx/IIS logs and view dinamically generated statistics< / div >
2022-11-19 00:10:00 +01:00
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2024-02-16 21:59:07 +01:00
<!-- Generated by Doxygen 1.10.0 -->
2022-11-19 00:10:00 +01:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
2024-02-16 21:59:07 +01:00
$(function() { init_search(); });
2022-11-19 00:10:00 +01:00
});
/* @license-end */
< / script >
< div id = "main-nav" > < / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-static-methods" > Static Public Member Functions< / a > |
< a href = "classRichText-members.html" > List of all members< / a > < / div >
2024-02-16 21:59:07 +01:00
< div class = "headertitle" > < div class = "title" > RichText Class Reference< span class = "mlabels" > < span class = "mlabel" > final< / span > < / span > < / div > < / div >
2022-11-19 00:10:00 +01:00
< / div > <!-- header -->
< div class = "contents" >
< p > < a class = "el" href = "classRichText.html" title = "RichText." > RichText< / a > .
2024-02-16 21:59:07 +01:00
< a href = "#details" > More...< / a > < / p >
2022-11-19 00:10:00 +01:00
< p > < code > #include < rtf.h> < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for RichText:< / div >
< div class = "dyncontent" >
< div class = "center" >
< img src = "classRichText.png" alt = "" / >
< / div > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-static-methods" name = "pub-static-methods" > < / a >
Static Public Member Functions< / h2 > < / td > < / tr >
2024-02-16 21:59:07 +01:00
< tr class = "memitem:a4b7aa4cd838e9ea6780740047cdfa474" id = "r_a4b7aa4cd838e9ea6780740047cdfa474" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a4b7aa4cd838e9ea6780740047cdfa474" > enrichLogs< / a > (QString & rich_content, const std::string & content, const < a class = "el" href = "structLogsFormat.html" > LogsFormat< / a > & logs_format, const < a class = "el" href = "classTextBrowser.html" > TextBrowser< / a > & TB)< / td > < / tr >
< tr class = "memdesc:a4b7aa4cd838e9ea6780740047cdfa474" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enriches the content of a log file with HTML/CSS code. < br / > < / td > < / tr >
< tr class = "separator:a4b7aa4cd838e9ea6780740047cdfa474" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a28bf0bdd659cc7b7a58eab9e5cfad495" id = "r_a28bf0bdd659cc7b7a58eab9e5cfad495" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a28bf0bdd659cc7b7a58eab9e5cfad495" > richLogsDefault< / a > (QString & rich_str)< / td > < / tr >
2023-02-11 20:23:44 +01:00
< tr class = "memdesc:a28bf0bdd659cc7b7a58eab9e5cfad495" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Provides the default string. < br / > < / td > < / tr >
2022-11-19 00:10:00 +01:00
< tr class = "separator:a28bf0bdd659cc7b7a58eab9e5cfad495" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-02-16 21:59:07 +01:00
< tr class = "memitem:a6e5fe6270e6fed0b9e7c42eafc9b4732" id = "r_a6e5fe6270e6fed0b9e7c42eafc9b4732" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a6e5fe6270e6fed0b9e7c42eafc9b4732" > richLogsFailure< / a > (QString & rich_str)< / td > < / tr >
2023-02-11 20:23:44 +01:00
< tr class = "memdesc:a6e5fe6270e6fed0b9e7c42eafc9b4732" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Provides the failure string. < br / > < / td > < / tr >
2022-11-19 00:10:00 +01:00
< tr class = "separator:a6e5fe6270e6fed0b9e7c42eafc9b4732" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2023-02-11 20:23:44 +01:00
< div class = "textblock" > < p > < a class = "el" href = "classRichText.html" title = "RichText." > RichText< / a > . < / p >
< p > Utilities for the < a class = "el" href = "classTextBrowser.html" title = "TextBrowser." > TextBrowser< / a > < / p >
2022-11-19 00:10:00 +01:00
< / div > < h2 class = "groupheader" > Member Function Documentation< / h2 >
2024-02-16 21:59:07 +01:00
< a id = "a4b7aa4cd838e9ea6780740047cdfa474" name = "a4b7aa4cd838e9ea6780740047cdfa474" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4b7aa4cd838e9ea6780740047cdfa474" > ◆   < / a > < / span > enrichLogs()< / h2 >
2022-11-19 00:10:00 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void RichText::enrichLogs < / td >
< td > (< / td >
2024-02-16 21:59:07 +01:00
< td class = "paramtype" > QString & < / td > < td class = "paramname" > < span class = "paramname" > < em > rich_content< / em > , < / span > < / td >
2022-11-19 00:10:00 +01:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-02-16 21:59:07 +01:00
< td class = "paramtype" > const std::string & < / td > < td class = "paramname" > < span class = "paramname" > < em > content< / em > , < / span > < / td >
2022-11-19 00:10:00 +01:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-02-16 21:59:07 +01:00
< td class = "paramtype" > const < a class = "el" href = "structLogsFormat.html" > LogsFormat< / a > & < / td > < td class = "paramname" > < span class = "paramname" > < em > logs_format< / em > , < / span > < / td >
2022-11-19 00:10:00 +01:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-02-16 21:59:07 +01:00
< td class = "paramtype" > const < a class = "el" href = "classTextBrowser.html" > TextBrowser< / a > & < / td > < td class = "paramname" > < span class = "paramname" > < em > TB< / em > < / span >   )< / td >
2022-11-19 00:10:00 +01:00
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Enriches the content of a log file with HTML/CSS code. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > rich_content< / td > < td > Will hold the final enriched content < / td > < / tr >
< tr > < td class = "paramname" > content< / td > < td > The plain text content from a log file < / td > < / tr >
< tr > < td class = "paramname" > logs_format< / td > < td > The logs format to use < / td > < / tr >
< tr > < td class = "paramname" > TB< / td > < td > The < a class = "el" href = "classTextBrowser.html" title = "TextBrowser." > TextBrowser< / a > instance < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a28bf0bdd659cc7b7a58eab9e5cfad495" name = "a28bf0bdd659cc7b7a58eab9e5cfad495" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a28bf0bdd659cc7b7a58eab9e5cfad495" > ◆   < / a > < / span > richLogsDefault()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void RichText::richLogsDefault < / td >
< td > (< / td >
2024-02-16 21:59:07 +01:00
< td class = "paramtype" > QString & < / td > < td class = "paramname" > < span class = "paramname" > < em > rich_str< / em > < / span > < / td > < td > )< / td >
2022-11-19 00:10:00 +01:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Provides the default string. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > rich_str< / td > < td > Will hold the string < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a6e5fe6270e6fed0b9e7c42eafc9b4732" name = "a6e5fe6270e6fed0b9e7c42eafc9b4732" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6e5fe6270e6fed0b9e7c42eafc9b4732" > ◆   < / a > < / span > richLogsFailure()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void RichText::richLogsFailure < / td >
< td > (< / td >
2024-02-16 21:59:07 +01:00
< td class = "paramtype" > QString & < / td > < td class = "paramname" > < span class = "paramname" > < em > rich_str< / em > < / span > < / td > < td > )< / td >
2022-11-19 00:10:00 +01:00
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Provides the failure string. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > rich_str< / td > < td > Will hold the string < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2023-10-22 17:46:43 +02:00
< li > logdoctor/utilities/< b > rtf.h< / b > < / li >
< li > logdoctor/utilities/< b > rtf.cpp< / b > < / li >
2022-11-19 00:10:00 +01:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2024-02-16 21:59:07 +01:00
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.10.0
2022-11-19 00:10:00 +01:00
< / small > < / address >
< / body >
< / html >