Fix GNU C++ version check
[LibreOffice.git] / vcl / inc / pdf / ResourceDict.hxx
blob119d9314f48a5866420a823ec0876d0debc555e8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
9 */
11 #pragma once
13 #include <rtl/strbuf.hxx>
14 #include <map>
16 namespace vcl::pdf
18 enum class ResourceKind
20 XObject,
21 ExtGState,
22 Shading,
23 Pattern
26 struct ResourceDict
28 // note: handle fonts globally for performance
29 std::map<OString, sal_Int32> m_aXObjects;
30 std::map<OString, sal_Int32> m_aExtGStates;
31 std::map<OString, sal_Int32> m_aShadings;
32 std::map<OString, sal_Int32> m_aPatterns;
34 void append(OStringBuffer& rBuffer, sal_Int32 nFontDictObject);
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */