bump product version to 7.2.5.1
[LibreOffice.git] / vcl / inc / pdf / XmpMetadata.hxx
blob7526d2bf9b4b8b77b5ab5b9906161a2683e5c612
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/string.hxx>
15 #include <tools/stream.hxx>
16 #include <memory>
18 namespace vcl::pdf
20 class XmpMetadata
22 private:
23 bool mbWritten;
24 std::unique_ptr<SvMemoryStream> mpMemoryStream;
26 public:
27 OString msTitle;
28 OString msAuthor;
29 OString msSubject;
30 OString msProducer;
31 OString msKeywords;
32 OString m_sCreatorTool;
33 OString m_sCreateDate;
35 sal_Int32 mnPDF_A;
36 bool mbPDF_UA;
38 public:
39 XmpMetadata();
40 sal_uInt64 getSize();
41 const void* getData();
43 private:
44 void write();
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */