LibreOffice Module vcl (master)
1
vcl
inc
pdf
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
{
20
class
XmpMetadata
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: */
vcl::pdf::XmpMetadata
Definition:
XmpMetadata.hxx:21
vcl::pdf::XmpMetadata::mnPDF_A
sal_Int32 mnPDF_A
Definition:
XmpMetadata.hxx:35
vcl::pdf::XmpMetadata::mpMemoryStream
std::unique_ptr< SvMemoryStream > mpMemoryStream
Definition:
XmpMetadata.hxx:24
vcl::pdf::XmpMetadata::getSize
sal_uInt64 getSize()
Definition:
XmpMetadata.cxx:173
vcl::pdf::XmpMetadata::mbPDF_UA
bool mbPDF_UA
Definition:
XmpMetadata.hxx:36
vcl::pdf::XmpMetadata::msSubject
OString msSubject
Definition:
XmpMetadata.hxx:29
vcl::pdf::XmpMetadata::mbWritten
bool mbWritten
Definition:
XmpMetadata.hxx:23
vcl::pdf::XmpMetadata::msTitle
OString msTitle
Definition:
XmpMetadata.hxx:27
vcl::pdf::XmpMetadata::write
void write()
Definition:
XmpMetadata.cxx:33
vcl::pdf::XmpMetadata::msKeywords
OString msKeywords
Definition:
XmpMetadata.hxx:31
vcl::pdf::XmpMetadata::getData
const void * getData()
Definition:
XmpMetadata.cxx:180
vcl::pdf::XmpMetadata::XmpMetadata
XmpMetadata()
Definition:
XmpMetadata.cxx:26
vcl::pdf::XmpMetadata::msAuthor
OString msAuthor
Definition:
XmpMetadata.hxx:28
vcl::pdf::XmpMetadata::m_sCreatorTool
OString m_sCreatorTool
Definition:
XmpMetadata.hxx:32
vcl::pdf::XmpMetadata::m_sCreateDate
OString m_sCreateDate
Definition:
XmpMetadata.hxx:33
vcl::pdf::XmpMetadata::msProducer
OString msProducer
Definition:
XmpMetadata.hxx:30
dllapi.h
vcl::pdf
Definition:
pdfcompat.cxx:17
stream.hxx
Generated on Sun Jul 30 2023 04:34:59 for LibreOffice Module vcl (master) by
1.9.3