/* -*- 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/. * */ #ifndef INCLUDED_EDITENG_CUSTOMPROPERTYFIELD_HXX #define INCLUDED_EDITENG_CUSTOMPROPERTYFIELD_HXX #include #include #include #include #include namespace editeng { class EDITENG_DLLPUBLIC CustomPropertyField : public SvxFieldData { private: OUString msName; OUString msCurrentPresentation; public: explicit CustomPropertyField(OUString const & rName, OUString const & rCurrentPresentation); virtual ~CustomPropertyField() override; SV_DECL_PERSIST1(CustomPropertyField, css::text::textfield::Type::DOCINFO_CUSTOM) virtual SvxFieldData* Clone() const override; virtual bool operator==(const SvxFieldData&) const override; virtual MetaAction* createBeginComment() const override; OUString GetFormatted(css::uno::Reference const & xDocumentProperties); OUString GetName() const { return msName; } OUString GetCurrentPresentation() const { return msCurrentPresentation; } }; } // end editeng namespace #endif // INCLUDED_EDITENG_CUSTOMPROPERTYFIELD_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ office-5-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-05-16loplugin:ostr in sd/../consoleNoel Grandin
2024-04-24[API CHANGE] a11y: Use XAccessible for relation targetsMichael Weghorn
2024-04-03tdf#146619 Drop unused 'using namespace' in: sd/Gabor Kelemen
2024-03-29tdf#143148 replace include guards with pragma onceU-Aarons_Laptop\Aaron
2024-03-29IASS: Update NextSlide in PresenterConsoleArmin Le Grand (allotropia)
2024-03-27IASS: Fix crash with PresenterConsoleArmin Le Grand (allotropia)
2024-03-05Create an UNO service to do the symbol lookup in sdNoel Grandin
2024-02-15Revert "merge sdui library into sd"Noel Grandin
2024-02-14merge sdui library into sdNoel Grandin
2024-01-12cid#1546222 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-12-23cid#1546006 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-12-22cid#1546500 COPY_INSTEAD_OF_MOVECaolán McNamara
2023-12-06tdf#148986 Support XF86Forward / XF86Back key eventsGabor Kelemen
2023-11-19c++20: use std::erase(_if) instead of std::remove(_if)+erase (part 9)Julien Nabet
2023-10-23Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]StringStephan Bergmann
2023-10-20Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: sdStephan Bergmann
2023-08-25Revert "use more Reference::query instead of UNO_QUERY_THROW"Noel Grandin
2023-08-18use more Reference::query instead of UNO_QUERY_THROWNoel Grandin
2023-06-26new loplugin:constexprliteralNoel Grandin
2023-04-21tdf#154546 skip dispatch when presenter controller is not setPatrick Luby
2023-03-30loplugin:stringadd in sd/sdextNoel Grandin
2023-02-21osl::Mutex->std::mutex in PresenterTimerNoel Grandin
2023-02-16Drop 'using namespace ::std' in dirs s*Gabor Kelemen
2023-01-26use more concrete types in sd consoleNoel Grandin
2023-01-21move presenter console from sdext/ to sd/Noel Grandin