/* -*- 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 .
*/ #pragma once
TOGGLE = 0x0004, // inverted for Execute old value
AUTOUPDATE = 0x0008, // invalidated the status automatically after execute
ASYNCHRON = 0x0020, // via Post-Message
NORECORD = 0x0100, // no recording
RECORDPERITEM = 0x0200, // each item, one statement
RECORDPERSET = 0x0400, // The whole Set is a Statement, default
RECORDABSOLUTE = 0x1000000, // Recording with absolute Target
METHOD = 0x4000,
FASTCALL = 0x8000, // No test if disabled before Execute
CONTAINER = 0x100000, // Operated by the container at InPlace
READONLYDOC = 0x200000, // also available for read-only Documents
VIEWERAPP = 0x400000, // also available in Viewer app mode
};
// Some casting to work around the lack of zero-sized trailing arrays in c++ inlineconst SfxTypeAttrib& SfxType::getAttrib(sal_uInt16 idx) const
{ returnreinterpret_cast<const SfxTypeImpl*>(this)->aAttrib[idx]; }
SFX_DECL_TYPE(1);
SFX_DECL_TYPE(2);
SFX_DECL_TYPE(3);
SFX_DECL_TYPE(4);
SFX_DECL_TYPE(5);
SFX_DECL_TYPE(6);
SFX_DECL_TYPE(7);
SFX_DECL_TYPE(8);
SFX_DECL_TYPE(9); // for SvxHyphenZoneItem
SFX_DECL_TYPE(10); // for SfxDocInfoItem
SFX_DECL_TYPE(11);
SFX_DECL_TYPE(13); // for SwAddPrinterItem, Sd...
SFX_DECL_TYPE(14);
SFX_DECL_TYPE(16); // for SwDocDisplayItem
SFX_DECL_TYPE(17); // for SvxAddressItem
SFX_DECL_TYPE(23); // for SvxSearchItem
// all SfxTypes must be in this header #undef SFX_DECL_TYPE
struct SfxFormalArgument
{ const SfxType* pType; // Type of the parameter (SfxPoolItem subclass)
OUString aName; // Name of the sParameters
sal_uInt16 nSlotId; // Slot-Id for identification of the Parameters
const SfxSlot* pNextSlot; // with the same Status-Method
const SfxFormalArgument* pFirstArgDef; // first formal Argument-Definition
sal_uInt16 nArgDefCount; // Number of formal Arguments
SfxDisableFlags nDisableFlags; // DisableFlags that need to be // present, so that the Slot // can be enabled
OUString aUnoName; // UnoName for the Slots
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.