LibreOffice Module sw (master) 1
AccessibilityCheck.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 */
10
11#pragma once
12
14#include <doc.hxx>
15#include <node.hxx>
16
17namespace sw
18{
21{
22protected:
24
25public:
27 : m_rIssueCollection(rIssueCollection)
28 {
29 }
30 virtual ~BaseCheck() {}
31};
32
34{
35private:
37
38 std::vector<std::shared_ptr<BaseCheck>> m_aDocumentChecks;
39 std::vector<std::shared_ptr<BaseCheck>> m_aNodeChecks;
40
42
43 void init();
44
45public:
47 : m_pDoc(pDoc)
48 {
49 }
50
51 void check() override;
52 void checkObject(SwNode* pNode, SdrObject* pObject);
53 void checkNode(SwNode* pNode);
54 void checkDocumentProperties();
55};
56
57} // end sw namespace
58
59/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FILE * init(int, char **)
Definition: doc.hxx:197
Base class of the Writer document model elements.
Definition: node.hxx:98
std::vector< std::shared_ptr< BaseCheck > > m_aDocumentChecks
std::vector< std::shared_ptr< BaseCheck > > m_aNodeChecks
Base class for accessibility checks.
sfx::AccessibilityIssueCollection & m_rIssueCollection
BaseCheck(sfx::AccessibilityIssueCollection &rIssueCollection)
DESKTOP_DEPLOYMENTMISC_DLLPUBLIC css::uno::Sequence< css::uno::Reference< css::xml::dom::XElement > > check(dp_misc::DescriptionInfoset const &infoset)
Dialog to specify the properties of date form field.
#define SW_DLLPUBLIC
Definition: swdllapi.h:28