1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
14 #include <tools/fontenum.hxx>
15 #include <tools/color.hxx>
16 #include <vcl/fntstyle.hxx>
17 #include <i18nlangtag/lang.h>
21 struct SC_DLLPUBLIC ScDxfFont
23 std::optional
<const SvxFontItem
*> pFontAttr
;
24 std::optional
<sal_uInt32
> nFontHeight
;
25 std::optional
<FontWeight
> eWeight
;
26 std::optional
<FontItalic
> eItalic
;
27 std::optional
<FontLineStyle
> eUnder
;
28 std::optional
<FontLineStyle
> eOver
;
29 std::optional
<bool> bWordLine
;
30 std::optional
<FontStrikeout
> eStrike
;
31 std::optional
<bool> bOutline
;
32 std::optional
<bool> bShadow
;
33 std::optional
<FontEmphasisMark
> eEmphasis
;
34 std::optional
<FontRelief
> eRelief
;
35 std::optional
<Color
> aColor
;
36 std::optional
<LanguageType
> eLang
;
40 return !(pFontAttr
.has_value() || nFontHeight
.has_value() ||
41 eWeight
.has_value() || eItalic
.has_value() || eUnder
.has_value() ||
42 eOver
.has_value() || bWordLine
.has_value() || eStrike
.has_value() ||
43 bOutline
.has_value() || bShadow
.has_value() || eEmphasis
.has_value() ||
44 eRelief
.has_value() || aColor
.has_value() || eLang
.has_value());
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */