/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * 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 #include enum class StatusCategory : sal_Int16 { NONE, TableCell, Section, TableOfContents, Numbering, ListStyle, Formula, RowColumn }; class SVX_DLLPUBLIC SvxStatusItem final : public SfxStringItem { private: StatusCategory m_eCategory; public: SvxStatusItem(TypedWhichId nWhich, const OUString& rString, StatusCategory eStatusCategory); StatusCategory GetCategory() const { return m_eCategory; } virtual bool QueryValue(css::uno::Any& rVal, sal_uInt8 nMemberId = 0) const override; virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId) override; virtual bool operator==(const SfxPoolItem& rItem) const override; virtual SvxStatusItem* Clone(SfxItemPool* pPool = nullptr) const override; static SfxPoolItem* CreateDefault(); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ ion value='distro/cib/libreoffice-5-1'>distro/cib/libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-12-19sal_Char->char in idlc..linguisticNoel Grandin
2019-11-24cppcheck: performing init in init list (hwpfilter, i., l.)Julien Nabet
2018-06-05tdf#42949 remove unused compheler includes ..Jochen Nitschke
2017-05-05Fix typosAndrea Gelmini
2017-03-30remove type decorations on char literalsJochen Nitschke
2017-03-25Fix typosAndrea Gelmini
2016-07-04remove comphelper::string::removeNoel Grandin
2016-02-09Remove excess newlinesChris Sherlock
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
2015-10-23com::sun::star->css in linguisticNoel Grandin
2014-08-02linguistic/workben/sspellimp.cxx fix cppcheck errorSimon Danner
2014-04-30Many spelling fixes: directories h* - p*.Pedro Giffuni
2013-12-04remove some STRING_NOTFOUND usageNoel Grandin
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza
2013-05-15String.AppendAscii DropRicardo Montania
2013-05-14fdo#46808, propogate XLinguProperties through some more codeNoel Grandin
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
2013-01-09resolved fdo#58503 restore awkward handling of empty locale for legacyEike Rathke
2012-11-24some more LocaleToLanguage() replacementEike Rathke
2012-10-08re-base on ALv2 code. Includes:Michael Meeks
2012-02-18Fix typos in commentsElton Chung