LibreOffice Module sw (master)
1
|
#include <layact.hxx>
Public Member Functions | |
SwLayIdle (SwRootFrame *pRt, SwViewShellImp *pImp) | |
~SwLayIdle () | |
Private Types | |
enum | IdleJobType { ONLINE_SPELLING, AUTOCOMPLETE_WORDS, WORD_COUNT, SMART_TAGS } |
Private Member Functions | |
void | ShowIdle (Color eName) |
bool | IsInterrupt () |
bool | DoIdleJob_ (const SwContentFrame *, IdleJobType) |
bool | DoIdleJob (IdleJobType, bool bVisAreaOnly) |
Private Attributes | |
TaskStopwatch | m_aWatch |
SwRootFrame * | m_pRoot |
SwViewShellImp * | m_pImp |
SwContentNode * | m_pContentNode |
sal_Int32 | m_nTextPos |
bool | m_bPageValid |
bool | m_bIndicator |
Definition at line 180 of file layact.hxx.
|
private |
Enumerator | |
---|---|
ONLINE_SPELLING | |
AUTOCOMPLETE_WORDS | |
WORD_COUNT | |
SMART_TAGS |
Definition at line 195 of file layact.hxx.
SwLayIdle::SwLayIdle | ( | SwRootFrame * | pRt, |
SwViewShellImp * | pImp | ||
) |
Definition at line 2149 of file layact.cxx.
References SwLayAction::Action(), AUTOCOMPLETE_WORDS, SwDocStat::bModified, COL_LIGHTGREEN, COL_LIGHTRED, SwViewShellImp::DelRegion(), DoIdleJob(), SwViewShell::EnableSmooth(), SwCursorShell::EndCursorMove(), SwViewShellImp::FireAccessibleEvents(), SwSmartTagMgr::Get(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), IDocumentStatistics::GetDocStat(), SwDocShell::GetEventName(), SwViewShell::getIDocumentStatistics(), SwFrame::GetNext(), SwViewShell::GetOut(), SwViewShellImp::GetRegion(), sw::Ring< value_type >::GetRingContainer(), SwViewShellImp::GetShell(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), SwViewShellImp::IsAccessible(), SwViewOption::IsAutoCompleteWords(), SfxObjectShell::IsHelpDocument(), SwLayAction::IsInterrupt(), SwPageFrame::IsInvalidAutoCompleteWords(), SwPageFrame::IsInvalidContent(), SwPageFrame::IsInvalidFlyContent(), SwPageFrame::IsInvalidFlyInCnt(), SwPageFrame::IsInvalidFlyLayout(), SwPageFrame::IsInvalidLayout(), SwPageFrame::IsInvalidSmartTags(), SwPageFrame::IsInvalidSpelling(), SwPageFrame::IsInvalidWordCount(), SwViewOption::IsOnlineSpell(), SwRect::IsOver(), SmartTagMgr::IsSmartTagsEnabled(), SwDoc::isXForms(), SwLayoutFrame::Lower(), m_aWatch, m_bIndicator, SwViewShellImp::m_pIdleAct, m_pImp, m_pRoot, ONLINE_SPELLING, SwRootFrame::ResetIdleFormat(), SAL_INFO, SwLayAction::SetWaitAllowed(), SwCursorShell::ShellGetFocus(), SwCursorShell::ShellLoseFocus(), SHOW_IDLE, SMART_TAGS, STR_SW_EVENT_LAYOUT_FINISHED, SwCursorShell::SttCursorMove(), SwClearFntCacheTextGlyphs(), SwViewShell::UnlockPaint(), and WORD_COUNT.
SwLayIdle::~SwLayIdle | ( | ) |
Definition at line 2339 of file layact.cxx.
References SwViewShellImp::m_pIdleAct, and m_pImp.
|
private |
Definition at line 2032 of file layact.cxx.
References AUTOCOMPLETE_WORDS, SwDocStat::bModified, COMPLETE_STRING, SwLayoutFrame::ContainsContent(), DoIdleJob_(), SwSmartTagMgr::Get(), SwDoc::GetAutoCompleteWords(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), IDocumentStatistics::GetDocStat(), SwViewShellImp::GetFirstVisPage(), SwFrameAreaDefinition::getFrameArea(), SwViewShell::getIDocumentStatistics(), SwFrame::GetNext(), SwContentFrame::GetNextContentFrame(), SwViewShell::GetOut(), SwViewShellImp::GetShell(), SwPageFrame::GetSortedObjs(), SwViewShell::GetViewOptions(), i, SwLayoutFrame::IsAnLower(), SwViewOption::IsAutoCompleteWords(), SfxObjectShell::IsHelpDocument(), SwAutoCompleteWord::IsLockWordLstLocked(), SwViewOption::IsOnlineSpell(), SwRect::IsOver(), SmartTagMgr::IsSmartTagsEnabled(), SwFrame::IsTextFrame(), SwDoc::isXForms(), SwLayoutFrame::Lower(), m_bPageValid, m_nTextPos, m_pContentNode, m_pImp, m_pRoot, ONLINE_SPELLING, SwSortedObjs::size(), SMART_TAGS, SwPageFrame::ValidateAutoCompleteWords(), SwPageFrame::ValidateSmartTags(), SwPageFrame::ValidateSpelling(), SwPageFrame::ValidateWordCount(), SwViewShell::VisArea(), and WORD_COUNT.
Referenced by SwLayIdle().
|
private |
Definition at line 1883 of file layact.cxx.
References assert(), AUTOCOMPLETE_WORDS, COMPLETE_STRING, SwTextNode::CountWords(), SwPaM::GetContentNode(), SwFrame::GetDrawObjs(), SwIndex::GetIndex(), SwTextFrame::GetMergedPara(), SwContentFrame::GetNextContentFrame(), SwPaM::GetPoint(), SwViewShellImp::GetShell(), SwTextNode::GetText(), SwTextFrame::GetTextNodeForParaProps(), SwTextNode::GetWrongDirty(), SwRect::HasArea(), SwPaM::HasMark(), i, SwViewShell::InvalidateWindows(), SwTextNode::IsAutoCompleteWordDirty(), IsInterrupt(), SwPaM::IsMultiSelection(), SwTextNode::IsSmartTagDirty(), SwFrame::IsTextFrame(), SwTextNode::IsWordCountDirty(), SwTextNode::IsWrongDirty(), m_bPageValid, m_nTextPos, m_pContentNode, m_pImp, SwPosition::nContent, nPos, ONLINE_SPELLING, SMART_TAGS, SwTextNode::TODO, TOOLS_WARN_EXCEPTION, and WORD_COUNT.
Referenced by DoIdleJob().
|
private |
Definition at line 1878 of file layact.cxx.
References TaskStopwatch::exceededRuntime(), and m_aWatch.
Referenced by DoIdleJob_().
|
private |
Definition at line 182 of file layact.hxx.
Referenced by IsInterrupt(), and SwLayIdle().
|
private |
Definition at line 189 of file layact.hxx.
Referenced by SwLayIdle().
|
private |
Definition at line 187 of file layact.hxx.
Referenced by DoIdleJob(), and DoIdleJob_().
|
private |
Definition at line 186 of file layact.hxx.
Referenced by DoIdleJob(), and DoIdleJob_().
|
private |
Definition at line 185 of file layact.hxx.
Referenced by DoIdleJob(), and DoIdleJob_().
|
private |
Definition at line 184 of file layact.hxx.
Referenced by DoIdleJob(), DoIdleJob_(), SwLayIdle(), and ~SwLayIdle().
|
private |
Definition at line 183 of file layact.hxx.
Referenced by DoIdleJob(), and SwLayIdle().