LibreOffice Module vcl (master)  1
PDFAnnotationMarker.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 <tools/color.hxx>
17 
18 namespace vcl::pdf
19 {
21 {
23  : mnWidth(0.0f)
25  {
26  }
27 
28  float mnWidth;
30 };
31 
33 {
34 };
35 
37 {
38 };
39 
41 {
42  std::vector<basegfx::B2DPolygon> maStrokes;
43 };
44 
46 {
48 };
49 
51 {
54 };
55 
57 {
58  Highlight,
59  Underline,
60  Squiggly,
61  StrikeOut
62 };
63 
65 {
66  std::vector<basegfx::B2DPolygon> maQuads;
68 
70  : meTextMarkerType(eTextMarkerType)
71  {
72  }
73 };
74 
75 } // namespace vcl::pdf
76 
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
constexpr::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
std::vector< basegfx::B2DPolygon > maQuads
uno::Sequence< double > maFillColor
std::vector< basegfx::B2DPolygon > maStrokes
double mnWidth
void(* f)(TrueTypeTable *)
Definition: ttcr.cxx:482
PDFAnnotationMarkerHighlight(PDFTextMarkerType eTextMarkerType)