/* -*- 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 || nFontHeight || eWeight || eItalic || eUnder || eOver || bWordLine || eStrike || bOutline || bShadow || eEmphasis || eRelief || aColor || eLang); } }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */