#include <RichDocument.h>
Public Member Functions | |
CRichDocument () | |
virtual | ~CRichDocument () |
POSITION | GetIterator () const |
CRichElement * | GetNext (POSITION &pos) const |
CRichElement * | GetPrev (POSITION &pos) const |
int | GetCount () const |
POSITION | Find (CRichElement *pElement) const |
CRichElement * | Add (CRichElement *pElement, POSITION posBefore=NULL) |
CRichElement * | Add (int nType, LPCTSTR pszText, LPCTSTR pszLink=NULL, DWORD nFlags=0, int nGroup=0, POSITION posBefore=NULL) |
void | Remove (CRichElement *pElement) |
void | ShowGroup (int nGroup, BOOL bShow=TRUE) |
void | ShowGroupRange (int nMin, int nMax, BOOL bShow=TRUE) |
void | SetModified () |
void | Clear () |
BOOL | LoadXML (CXMLElement *pBase, CMapStringToPtr *pMap=NULL, int nGroup=0) |
void | CreateFonts (LPCTSTR pszFaceName=theApp.m_sDefaultFont, int nSize=12) |
Public Attributes | |
CCriticalSection | m_pSection |
CPtrList | m_pElements |
DWORD | m_nCookie |
CSize | m_szMargin |
COLORREF | m_crBackground |
COLORREF | m_crText |
COLORREF | m_crLink |
COLORREF | m_crHover |
COLORREF | m_crHeading |
CFont | m_fntNormal |
CFont | m_fntBold |
CFont | m_fntItalic |
CFont | m_fntUnder |
CFont | m_fntBoldUnder |
CFont | m_fntHeading |
Protected Member Functions | |
BOOL | LoadXMLStyles (CXMLElement *pParent) |
BOOL | LoadXMLColour (CXMLElement *pXML, LPCTSTR pszName, COLORREF *pColour) |
|
Definition at line 38 of file RichDocument.cpp. References m_crBackground, m_crHeading, m_crHover, m_crLink, m_crText, and m_nCookie. |
|
Definition at line 48 of file RichDocument.cpp. References Clear(). |
|
Definition at line 99 of file RichDocument.cpp. References Add(). |
|
Definition at line 84 of file RichDocument.cpp. References m_nCookie, m_pElements, and m_pSection. Referenced by Add(), CChatFrame::AddText(), CEmoticons::FormatText(), LoadXML(), CPrivateChatFrame::OnProfileReceived(), CChatFrame::OnStatusMessage(), and CBrowseProfileCtrl::UpdateDocument2(). |
|
Definition at line 145 of file RichDocument.cpp. References GetIterator(), GetNext(), m_nCookie, m_pElements, and m_pSection. Referenced by CChatFrame::OnChatClear(), CBrowseProfileCtrl::OnSkinChange(), CHomeViewCtrl::Setup(), and ~CRichDocument(). |
|
Definition at line 161 of file RichDocument.cpp. References m_fntBold, m_fntBoldUnder, m_fntHeading, m_fntItalic, m_fntNormal, m_fntUnder, and m_pSection. Referenced by LoadXML(), LoadXMLStyles(), and CRichElement::PrePaint(). |
|
Definition at line 76 of file RichDocument.cpp. References m_pElements. Referenced by CRichViewCtrl::CopySelection(), and CBrowseProfileCtrl::UpdateDocument2(). |
|
Definition at line 71 of file RichDocument.cpp. References m_pElements. Referenced by CSearchDetailPanel::Review::Layout(), and CSearchDetailPanel::Review::Paint(). |
|
Definition at line 56 of file RichDocument.cpp. References m_pElements. Referenced by Clear(), CRichViewCtrl::Layout(), ShowGroup(), and ShowGroupRange(). |
|
Definition at line 61 of file RichDocument.cpp. References m_pElements. Referenced by Clear(), CRichViewCtrl::CopySelection(), CRichViewCtrl::Layout(), ShowGroup(), ShowGroupRange(), and CBrowseProfileCtrl::UpdateDocument2(). |
|
Definition at line 66 of file RichDocument.cpp. References m_pElements. |
|
|
Definition at line 434 of file RichDocument.cpp. Referenced by LoadXML(), and LoadXMLStyles(). |
|
Definition at line 386 of file RichDocument.cpp. References CreateFonts(), CXMLElement::GetAttributeValue(), CXMLElement::GetElementByName(), CXMLElement::GetElementIterator(), CXMLElement::GetNextElement(), CXMLNode::IsNamed(), LoadXMLColour(), m_crHeading, m_crHover, m_crLink, m_crText, m_fntHeading, CShareazaApp::m_nDefaultFontSize, CShareazaApp::m_sDefaultFont, NULL, and theApp. Referenced by LoadXML(). |
|
Definition at line 105 of file RichDocument.cpp. References m_nCookie, CRichElement::m_pDocument, m_pElements, m_pSection, and NULL. Referenced by CRichElement::Delete(). |
|
Definition at line 140 of file RichDocument.cpp. References m_nCookie. |
|
Definition at line 117 of file RichDocument.cpp. References GetIterator(), GetNext(), CRichElement::m_nGroup, m_pSection, and CRichElement::Show(). Referenced by CHomeViewCtrl::Update(), CHomeTorrentsBox::Update(), CHomeConnectionBox::Update(), CHomeLibraryBox::Update(), CHomeDownloadsBox::Update(), CBrowseProfileCtrl::UpdateDocument1(), and CBrowseProfileCtrl::UpdateDocument2(). |
|
Definition at line 128 of file RichDocument.cpp. References GetIterator(), GetNext(), CRichElement::m_nGroup, m_pSection, and CRichElement::Show(). Referenced by CHomeConnectionBox::Update(). |
|
Definition at line 45 of file RichDocument.h. Referenced by CRichDocument(), LoadXML(), CHelpDlg::OnInitDialog(), CRichViewCtrl::OnPaint(), and CHomeViewCtrl::Setup(). |
|
Definition at line 49 of file RichDocument.h. Referenced by CRichDocument(), LoadXML(), LoadXMLStyles(), and CRichElement::PrePaint(). |
|
Definition at line 48 of file RichDocument.h. Referenced by CRichDocument(), LoadXML(), LoadXMLStyles(), and CRichElement::PrePaint(). |
|
Definition at line 47 of file RichDocument.h. Referenced by CRichDocument(), LoadXML(), LoadXMLStyles(), and CRichElement::PrePaint(). |
|
Definition at line 46 of file RichDocument.h. Referenced by CRichDocument(), LoadXML(), LoadXMLStyles(), and CRichElement::PrePaint(). |
|
Definition at line 52 of file RichDocument.h. Referenced by CreateFonts(), and CRichElement::PrePaint(). |
|
Definition at line 55 of file RichDocument.h. Referenced by CreateFonts(), and CRichElement::PrePaint(). |
|
Definition at line 56 of file RichDocument.h. Referenced by CreateFonts(), LoadXMLStyles(), and CRichElement::PrePaint(). |
|
Definition at line 53 of file RichDocument.h. Referenced by CreateFonts(), and CRichElement::PrePaint(). |
|
Definition at line 51 of file RichDocument.h. Referenced by CreateFonts(), and CRichElement::PrePaint(). |
|
Definition at line 54 of file RichDocument.h. Referenced by CreateFonts(), and CRichElement::PrePaint(). |
|
|
Definition at line 41 of file RichDocument.h. Referenced by Add(), Clear(), Find(), GetCount(), GetIterator(), GetNext(), GetPrev(), and Remove(). |
|
|
Definition at line 44 of file RichDocument.h. Referenced by CRichViewCtrl::Layout(), LoadXML(), and CSearchDetailPanel::Review::Review(). |