LibreOffice Module vcl (master)  1
XmpMetadata.hxx
Go to the documentation of this file.
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 
11 #pragma once
12 
13 #include <vcl/dllapi.h>
14 #include <rtl/string.hxx>
15 #include <tools/stream.hxx>
16 #include <memory>
17 
18 namespace vcl::pdf
19 {
21 {
22 private:
23  bool mbWritten;
24  std::unique_ptr<SvMemoryStream> mpMemoryStream;
25 
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;
34 
35  sal_Int32 mnPDF_A;
36  bool mbPDF_UA;
37 
38 public:
39  XmpMetadata();
40  sal_uInt64 getSize();
41  const void* getData();
42 
43 private:
44  void write();
45 };
46 }
47 
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< SvMemoryStream > mpMemoryStream
Definition: XmpMetadata.hxx:24
const void * getData()