/* -*- 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_SVX_XBTMPIT_HXX #define INCLUDED_SVX_XBTMPIT_HXX #include #include #include #include class SdrModel; class SVXCORE_DLLPUBLIC XFillBitmapItem final : public NameOrIndex { private: GraphicObject maGraphicObject; public: static SfxPoolItem* CreateDefault(); XFillBitmapItem() : NameOrIndex(XATTR_FILLBITMAP, -1 ) {} XFillBitmapItem(const OUString& rName, const GraphicObject& rGraphicObject); XFillBitmapItem( const GraphicObject& rGraphicObject ); XFillBitmapItem( const XFillBitmapItem& rItem ); virtual bool operator==( const SfxPoolItem& rItem ) const override; virtual XFillBitmapItem* Clone( SfxItemPool* pPool = nullptr ) const override; 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 GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper& ) const override; const GraphicObject& GetGraphicObject() const { return maGraphicObject;} bool isPattern() const; static bool CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 ); std::unique_ptr checkForUniqueItem( SdrModel* pModel ) const; virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -23.05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga.extern@allotropia.de>2024-12-20 14:46:24 +0100
committerBalazs Varga <balazs.varga.extern@allotropia.de>2024-12-23 09:45:58 +0100
commit78dbd341bb5023448af2c3eefceb5a840fd6d8d9 (patch)
tree244d43ec5bbe1f7dd9e6fae971a9b2ee8aea8781 /lotuswordpro/source/filter/bento.hxx
parente6d71b9381aba8531c0ebf635c11508e5389fdc6 (diff)
tdf#164383 - sw a11y fix unnecessary "Avoid simulated captions" warning HEADmaster
for caption frame. We should not have "Avoid simulated captions" warning about correct captions. Change-Id: I57fe53c5f9e1aa2affe0aec6520d1d6eed5d6990 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178927 Tested-by: Jenkins Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>