Line data Source code
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 : #ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCEPROPERTIES_HXX
11 : #define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCEPROPERTIES_HXX
12 :
13 : #include <rtfsprm.hxx>
14 :
15 : namespace writerfilter
16 : {
17 : namespace rtftok
18 : {
19 : /// Sends RTFSprm instances to DomainMapper.
20 : class RTFReferenceProperties
21 : : public writerfilter::Reference<Properties>
22 : {
23 : public:
24 : RTFReferenceProperties(RTFSprms rAttributes, RTFSprms rSprms);
25 : RTFReferenceProperties(RTFSprms rAttributes);
26 : virtual ~RTFReferenceProperties();
27 : virtual void resolve(Properties& rHandler) SAL_OVERRIDE;
28 2438 : RTFSprms& getAttributes()
29 : {
30 2438 : return m_aAttributes;
31 : }
32 2438 : RTFSprms& getSprms()
33 : {
34 2438 : return m_aSprms;
35 : }
36 : private:
37 : RTFSprms m_aAttributes;
38 : RTFSprms m_aSprms;
39 : };
40 : } // namespace rtftok
41 : } // namespace writerfilter
42 :
43 : #endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFREFERENCEPROPERTIES_HXX
44 :
45 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|