use insert function instead of for loop
[LibreOffice.git] / include / oox / ppt / presPropsfragmenthandler.hxx
blob18a2a97aa9cd76c31ce2d23ce0a56f2d4cc97f61
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_OOX_PPT_PRESPROPSFRAGMENTHANDLER_HXX
11 #define INCLUDED_OOX_PPT_PRESPROPSFRAGMENTHANDLER_HXX
13 #include <oox/core/fragmenthandler2.hxx>
15 namespace oox
17 namespace core
19 class XmlFilterBase;
22 namespace ppt
24 class PresPropsFragmentHandler final : public core::FragmentHandler2
26 public:
27 PresPropsFragmentHandler(core::XmlFilterBase& rFilter, const OUString& rFragmentPath);
28 virtual ~PresPropsFragmentHandler() override;
29 virtual void finalizeImport() override;
30 virtual core::ContextHandlerRef onCreateContext(sal_Int32 aElementToken,
31 const AttributeList& rAttribs) override;
33 private:
34 bool m_bLoop = false;
35 bool m_bTiming = true;
36 OUString m_sId;
37 OUString m_sSt;
39 } // namespace ppt
40 } // namespace oox
42 #endif // INCLUDED_OOX_PPT_PRESPROPSFRAGMENTHANDLER_HXX
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */