/* -*- 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_SVL_ITEMPROP_HXX #define INCLUDED_SVL_ITEMPROP_HXX
// values from com/sun/star/beans/PropertyAttribute #define PROPERTY_NONE 0
/// map a property between beans::XPropertySet and SfxPoolItem struct SfxItemPropertyMapEntry
{
OUString aName; ///< name of property
css::uno::Type aType; ///< UNO type of property
sal_uInt16 nWID; ///< WhichId of SfxPoolItem /// flag bitmap, @see css::beans::PropertyAttribute
sal_Int16 nFlags; /// "member ID" to tell QueryValue/PutValue which property it is /// (when multiple properties map to the same nWID)
sal_uInt8 nMemberId;
PropertyMoreFlags nMoreFlags;
class SfxItemPropertySetInfo; class SVL_DLLPUBLIC SfxItemPropertySet final
{
SfxItemPropertyMap m_aMap; mutable rtl::Reference<SfxItemPropertySetInfo> m_xInfo;
// workaround for incremental linking bugs in MSVC2015 class SAL_DLLPUBLIC_TEMPLATE SfxItemPropertySetInfo_Base : public cppu::WeakImplHelper< css::beans::XPropertySetInfo > {};
class SVL_DLLPUBLIC SfxItemPropertySetInfo final : public SfxItemPropertySetInfo_Base
{
SfxItemPropertyMap m_aOwnMap;
// workaround for incremental linking bugs in MSVC2015 class SAL_DLLPUBLIC_TEMPLATE SfxExtItemPropertySetInfo_Base : public cppu::WeakImplHelper< css::beans::XPropertySetInfo > {};
class SVL_DLLPUBLIC SfxExtItemPropertySetInfo final : public SfxExtItemPropertySetInfo_Base
{ public:
SfxExtItemPropertySetInfo(
std::span<const SfxItemPropertyMapEntry> pMap, const css::uno::Sequence<css::beans::Property>& rPropSeq ); virtual ~SfxExtItemPropertySetInfo() override;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.