/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #include "scdllapi.h" #include #include #include #include #include class SvxFontItem; struct SC_DLLPUBLIC ScDxfFont { std::optional pFontAttr; std::optional nFontHeight; std::optional eWeight; std::optional eItalic; std::optional eUnder; std::optional eOver; std::optional bWordLine; std::optional eStrike; std::optional bOutline; std::optional bShadow; std::optional eEmphasis; std::optional eRelief; std::optional aColor; std::optional eLang; bool isEmpty() const { return !(pFontAttr.has_value() || nFontHeight.has_value() || eWeight.has_value() || eItalic.has_value() || eUnder.has_value() || eOver.has_value() || bWordLine.has_value() || eStrike.has_value() || bOutline.has_value() || bShadow.has_value() || eEmphasis.has_value() || eRelief.has_value() || aColor.has_value() || eLang.has_value()); } }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */