22#include <config_options.h>
49typedef std::vector<std::unique_ptr<SbxParamInfo>>
SbxParams;
51class UNLESS_MERGELIBS(BASIC_DLLPUBLIC) SbxInfo final :
public SvRefBase
61 SbxInfo(SbxInfo
const&) =
delete;
66 virtual ~SbxInfo()
override;
69 SbxInfo( OUString , sal_uInt32 );
73 const OUString& GetComment()
const {
return aComment; }
74 const OUString& GetHelpFile()
const {
return aHelpFile; }
75 sal_uInt32 GetHelpId()
const {
return nHelpId; }
77 void SetComment(
const OUString& r ) { aComment = r; }
98 friend class SbClassModuleObject;
107 virtual bool LoadData(
SvStream&, sal_uInt16 )
override;
108 virtual std::pair<bool, sal_uInt32> StoreData(
SvStream& )
const override;
115 virtual void Clear()
override;
116 sal_uInt32
Count()
const;
122 void Remove( sal_uInt32 );
125 OUString GetAlias(sal_uInt32);
126 void PutAlias(
const OUString&, sal_uInt32);
142 sal_uInt32
Offset(
const sal_Int32*);
144 virtual bool LoadData(
SvStream&, sal_uInt16 )
override;
145 virtual std::pair<bool, sal_uInt32> StoreData(
SvStream& )
const override;
152 virtual void Clear()
override;
160 sal_Int32
GetDims()
const {
return m_vDimensions.size(); }
161 void AddDim(sal_Int32, sal_Int32);
162 void unoAddDim(sal_Int32, sal_Int32);
163 bool GetDim(sal_Int32, sal_Int32&, sal_Int32&)
const;
173 virtual bool LoadData(
SvStream&, sal_uInt16 )
override;
176 virtual void CollAdd(
SbxArray* pPar );
178 virtual void CollRemove(
SbxArray* pPar );
186 virtual void Clear()
override;
194 virtual bool LoadData(
SvStream&, sal_uInt16 )
override;
195 virtual std::pair<bool, sal_uInt32> StoreData(
SvStream& )
const override;
196 virtual void CollAdd(
SbxArray* pPar )
override;
197 virtual void CollRemove(
SbxArray* pPar )
override;
virtual bool LoadData(SvStream &, sal_uInt16) override
virtual std::pair< bool, sal_uInt32 > StoreData(SvStream &) const override
SbxVariableRef & GetRef(sal_uInt32)
SbxArray(const SbxArray &)=delete
SBX_DECL_PERSIST_NODATA(SBXID_ARRAY, 1)
std::vector< SbxVarEntry > mVarEntries
SbxVariable * Get(sal_uInt32)
void Put(SbxVariable *, sal_uInt32)
SBX_DECL_PERSIST_NODATA(SBXID_COLLECTION, 1)
std::vector< SbxDim > m_vDimensions
SBX_DECL_PERSIST_NODATA(SBXID_DIMARRAY, 1)
sal_Int32 GetDims() const
bool hasFixedSize() const
void setHasFixedSize(bool bHasFixedSize)
SbxDimArray(const SbxDimArray &)=delete
SbxVariable * GetVar() const
SbxHint(SfxHintId n, SbxVariable *v)
SBX_DECL_PERSIST_NODATA(SBXID_FIXCOLLECTION, 1)
SvRefBase & operator=(const SvRefBase &)
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
void Clear(EHistoryType eHistory)
SbxObjectRef cloneTypeObjectImpl(const SbxObject &rTypeObj)
tools::SvRef< SbxArray > SbxArrayRef
tools::SvRef< SbxDimArray > SbxDimArrayRef
std::vector< std::unique_ptr< SbxParamInfo > > SbxParams
tools::SvRef< SbxInfo > SbxInfoRef
constexpr auto SBXID_ARRAY
constexpr auto SBXID_FIXCOLLECTION
constexpr auto SBXID_COLLECTION
constexpr auto SBXID_DIMARRAY
SbxParamInfo(OUString s, SbxDataType t, SbxFlagBits n)