1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 #include <sfx2/AccessibilityCheck.hxx>
19 /** Base class for accessibility checks */
23 sfx::AccessibilityIssueCollection
& m_rIssueCollection
;
26 BaseCheck(sfx::AccessibilityIssueCollection
& rIssueCollection
)
27 : m_rIssueCollection(rIssueCollection
)
30 virtual ~BaseCheck() {}
33 class SW_DLLPUBLIC AccessibilityCheck final
: public sfx::AccessibilityCheck
38 std::vector
<std::shared_ptr
<BaseCheck
>> m_aDocumentChecks
;
39 std::vector
<std::shared_ptr
<BaseCheck
>> m_aNodeChecks
;
41 AccessibilityCheck() = delete;
46 AccessibilityCheck(SwDoc
* pDoc
)
51 void check() override
;
52 void checkObject(SwNode
* pNode
, SdrObject
* pObject
);
53 void checkNode(SwNode
* pNode
);
54 void checkDocumentProperties();
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */