LibreOffice Module vcl (master) 1
GraphicMetadata.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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#ifndef INCLUDED_VCL_GRAPHIC_GRAPHICMETADATA_HXX
10#define INCLUDED_VCL_GRAPHIC_GRAPHICMETADATA_HXX
11// Info class for all supported file formats
13{
14 NOT = 0x0000,
15 BMP = 0x0001,
16 GIF = 0x0002,
17 JPG = 0x0003,
18 PCD = 0x0004,
19 PCX = 0x0005,
20 PNG = 0x0006,
21 TIF = 0x0007,
22 XBM = 0x0008,
23 XPM = 0x0009,
24 PBM = 0x000a,
25 PGM = 0x000b,
26 PPM = 0x000c,
27 RAS = 0x000d,
28 TGA = 0x000e,
29 PSD = 0x000f,
30 EPS = 0x0010,
31 WEBP = 0x0011,
32 MOV = 0x00e0,
33 PDF = 0x00e1,
34 DXF = 0x00f1,
35 MET = 0x00f2,
36 PCT = 0x00f3,
37 // retired SGF = 0x00f4,
38 SVM = 0x00f5,
39 WMF = 0x00f6,
40 // retired SGV = 0x00f7,
41 EMF = 0x00f8,
42 SVG = 0x00f9,
43 WMZ = 0x00fa,
44 EMZ = 0x00fb,
45 SVGZ = 0x00fc,
46 APNG = 0x00fd
47};
49{
52 std::optional<Size> maPreferredLogSize = std::nullopt;
53 std::optional<MapMode> maPreferredMapMode = std::nullopt;
54 sal_uInt16 mnBitsPerPixel = 0;
55 sal_uInt16 mnPlanes = 0;
58 bool mbIsTransparent = false;
59 bool mbIsAlpha = false;
60};
61#endif
62/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
GraphicFileFormat
EMF
WMF
PNG
std::optional< Size > maPreferredLogSize
GraphicFileFormat mnFormat
sal_uInt16 mnBitsPerPixel
std::optional< MapMode > maPreferredMapMode
sal_uInt8 mnNumberOfImageComponents
NOT
unsigned char sal_uInt8