bump product version to 7.2.5.1
[LibreOffice.git] / vcl / inc / pdf / ResourceDict.hxx
blob57ecb8e0f33f6b99568cb01e5b52d8d38daa14da
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 <vcl/dllapi.h>
14 #include <rtl/strbuf.hxx>
15 #include <map>
17 namespace vcl::pdf
19 enum class ResourceKind
21 XObject,
22 ExtGState,
23 Shading,
24 Pattern
27 struct ResourceDict
29 // note: handle fonts globally for performance
30 std::map<OString, sal_Int32> m_aXObjects;
31 std::map<OString, sal_Int32> m_aExtGStates;
32 std::map<OString, sal_Int32> m_aShadings;
33 std::map<OString, sal_Int32> m_aPatterns;
35 void append(OStringBuffer& rBuffer, sal_Int32 nFontDictObject);
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */