LibreOffice Module sw (master) 1
|
#include <OnlineAccessibilityCheck.hxx>
Public Member Functions | |
OnlineAccessibilityCheck (SwDoc &rDocument) | |
void | update (SwPosition const &rNewPos) |
void | resetAndQueue (SwNode *pNode) |
void | resetAndQueueDocumentLevel () |
void | updateCheckerActivity () |
sal_Int32 | getNumberOfAccessibilityIssues () |
sal_Int32 | getNumberOfDocumentLevelAccessibilityIssues () |
Private Member Functions | |
void | runAccessibilityCheck (SwNode *pNode) |
void | updateStatusbar () |
void | updateNodeStatus (SwNode *pContentNode) |
void | initialCheck () |
void | lookForPreviousNodeAndUpdate (SwPosition const &rNewPos) |
void | clearAccessibilityIssuesFromAllNodes () |
void | runDocumentLevelAccessibilityCheck () |
Private Attributes | |
std::map< SwNode *, std::unique_ptr< WeakNodeContainer > > | m_aNodes |
SwDoc & | m_rDocument |
sw::AccessibilityCheck | m_aAccessibilityCheck |
std::unique_ptr< WeakNodeContainer > | m_pPreviousNode |
SwNodeOffset | m_nPreviousNodeIndex |
sal_Int32 | m_nAccessibilityIssues |
bool | m_bInitialCheck |
bool | m_bOnlineCheckStatus |
std::unique_ptr< sfx::AccessibilityIssueCollection > | m_pDocumentAccessibilityIssues |
Definition at line 44 of file OnlineAccessibilityCheck.hxx.
sw::OnlineAccessibilityCheck::OnlineAccessibilityCheck | ( | SwDoc & | rDocument | ) |
Definition at line 69 of file OnlineAccessibilityCheck.cxx.
|
private |
Definition at line 278 of file OnlineAccessibilityCheck.cxx.
References SwNode::getAccessibilityCheckStatus(), SwDoc::GetNodes(), m_aNodes, m_rDocument, n, sw::AccessibilityCheckStatus::reset(), and updateStatusbar().
Referenced by updateCheckerActivity().
|
inline |
Definition at line 72 of file OnlineAccessibilityCheck.hxx.
References m_nAccessibilityIssues.
|
inline |
Definition at line 73 of file OnlineAccessibilityCheck.hxx.
References m_pDocumentAccessibilityIssues.
|
private |
Definition at line 155 of file OnlineAccessibilityCheck.cxx.
References SwDoc::GetNodes(), m_bInitialCheck, m_rDocument, n, runAccessibilityCheck(), runDocumentLevelAccessibilityCheck(), updateNodeStatus(), and updateStatusbar().
Referenced by update().
|
private |
Definition at line 218 of file OnlineAccessibilityCheck.cxx.
References SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwNode::IsContentNode(), SwNode::IsTableNode(), m_nPreviousNodeIndex, m_pPreviousNode, runAccessibilityCheck(), runDocumentLevelAccessibilityCheck(), updateNodeStatus(), and updateStatusbar().
Referenced by update().
void sw::OnlineAccessibilityCheck::resetAndQueue | ( | SwNode * | pNode | ) |
Definition at line 294 of file OnlineAccessibilityCheck.cxx.
References sw::proofreadingiterator::get(), SwNode::getAccessibilityCheckStatus(), utl::ConfigManager::IsFuzzing(), m_aNodes, sw::AccessibilityCheckStatus::reset(), runAccessibilityCheck(), updateNodeStatus(), and updateStatusbar().
void sw::OnlineAccessibilityCheck::resetAndQueueDocumentLevel | ( | ) |
Definition at line 311 of file OnlineAccessibilityCheck.cxx.
References sw::proofreadingiterator::get(), utl::ConfigManager::IsFuzzing(), runDocumentLevelAccessibilityCheck(), and updateStatusbar().
|
private |
Definition at line 127 of file OnlineAccessibilityCheck.cxx.
References sw::AccessibilityCheck::checkNode(), sw::AccessibilityCheck::checkObject(), sfx::AccessibilityIssueCollection::clear(), SwNode::getAccessibilityCheckStatus(), SwNode::GetAnchoredFlys(), sfx::AccessibilityCheck::getIssueCollection(), m_aAccessibilityCheck, sw::AccessibilityCheckStatus::pCollection, and pObject.
Referenced by initialCheck(), lookForPreviousNodeAndUpdate(), and resetAndQueue().
|
private |
Definition at line 146 of file OnlineAccessibilityCheck.cxx.
References sw::AccessibilityCheck::checkDocumentProperties(), sfx::AccessibilityIssueCollection::clear(), sfx::AccessibilityCheck::getIssueCollection(), m_aAccessibilityCheck, and m_pDocumentAccessibilityIssues.
Referenced by initialCheck(), lookForPreviousNodeAndUpdate(), and resetAndQueueDocumentLevel().
void sw::OnlineAccessibilityCheck::update | ( | SwPosition const & | rNewPos | ) |
Definition at line 206 of file OnlineAccessibilityCheck.cxx.
References initialCheck(), lookForPreviousNodeAndUpdate(), m_bOnlineCheckStatus, and updateCheckerActivity().
void sw::OnlineAccessibilityCheck::updateCheckerActivity | ( | ) |
Definition at line 178 of file OnlineAccessibilityCheck.cxx.
References clearAccessibilityIssuesFromAllNodes(), sw::proofreadingiterator::get(), utl::ConfigManager::IsFuzzing(), m_bInitialCheck, m_bOnlineCheckStatus, m_nAccessibilityIssues, m_nPreviousNodeIndex, m_pPreviousNode, and updateStatusbar().
Referenced by update().
|
private |
Definition at line 82 of file OnlineAccessibilityCheck.cxx.
References SwNode::IsContentNode(), SwNode::IsTableNode(), m_aNodes, and m_nAccessibilityIssues.
Referenced by initialCheck(), lookForPreviousNodeAndUpdate(), and resetAndQueue().
|
private |
Definition at line 118 of file OnlineAccessibilityCheck.cxx.
References FN_STAT_ACCESSIBILITY_CHECK, SfxDispatcher::GetBindings(), SfxShell::GetDispatcher(), SwDoc::GetDocShell(), SfxBindings::Invalidate(), and m_rDocument.
Referenced by clearAccessibilityIssuesFromAllNodes(), initialCheck(), lookForPreviousNodeAndUpdate(), resetAndQueue(), resetAndQueueDocumentLevel(), and updateCheckerActivity().
|
private |
Definition at line 50 of file OnlineAccessibilityCheck.hxx.
Referenced by runAccessibilityCheck(), and runDocumentLevelAccessibilityCheck().
|
private |
Definition at line 47 of file OnlineAccessibilityCheck.hxx.
Referenced by clearAccessibilityIssuesFromAllNodes(), resetAndQueue(), and updateNodeStatus().
|
private |
Definition at line 54 of file OnlineAccessibilityCheck.hxx.
Referenced by initialCheck(), and updateCheckerActivity().
|
private |
Definition at line 55 of file OnlineAccessibilityCheck.hxx.
Referenced by update(), and updateCheckerActivity().
|
private |
Definition at line 53 of file OnlineAccessibilityCheck.hxx.
Referenced by getNumberOfAccessibilityIssues(), updateCheckerActivity(), and updateNodeStatus().
|
private |
Definition at line 52 of file OnlineAccessibilityCheck.hxx.
Referenced by lookForPreviousNodeAndUpdate(), and updateCheckerActivity().
|
private |
Definition at line 56 of file OnlineAccessibilityCheck.hxx.
Referenced by getNumberOfDocumentLevelAccessibilityIssues(), and runDocumentLevelAccessibilityCheck().
|
private |
Definition at line 51 of file OnlineAccessibilityCheck.hxx.
Referenced by lookForPreviousNodeAndUpdate(), and updateCheckerActivity().
|
private |
Definition at line 49 of file OnlineAccessibilityCheck.hxx.
Referenced by clearAccessibilityIssuesFromAllNodes(), initialCheck(), and updateStatusbar().