|
LibreOffice Module basic (master) 1
|
#include <sbobjmod.hxx>
Public Member Functions | |
| SbUserFormModuleInstance (SbUserFormModule *pParentModule, const OUString &rName, const css::script::ModuleInfo &mInfo, bool bIsVBACompat) | |
| virtual bool | IsClass (const OUString &) const override |
| virtual SbxVariable * | Find (const OUString &rName, SbxClassType t) override |
Public Member Functions inherited from SbUserFormModule | |
| SbUserFormModule (const OUString &rName, const css::script::ModuleInfo &mInfo, bool bIsVBACompat) | |
| virtual | ~SbUserFormModule () override |
| virtual SbxVariable * | Find (const OUString &rName, SbxClassType t) override |
| void | ResetApiObj (bool bTriggerTerminateEvent=true) |
| void | Unload () |
| void | Load () |
| void | triggerMethod (const OUString &) |
| void | triggerMethod (const OUString &, css::uno::Sequence< css::uno::Any > &) |
| void | triggerActivateEvent () |
| void | triggerDeactivateEvent () |
| void | triggerInitializeEvent () |
| void | triggerTerminateEvent () |
| void | triggerLayoutEvent () |
| void | triggerResizeEvent () |
| bool | getInitState () const |
| void | setInitState (bool bInit) |
| class SbUserFormModuleInstance * | CreateInstance () |
Public Member Functions inherited from SbObjModule | |
| SbObjModule (const OUString &rName, const css::script::ModuleInfo &mInfo, bool bIsVbaCompatible) | |
| virtual SbxVariable * | Find (const OUString &rName, SbxClassType t) override |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| SbxVariable * | GetObject () |
| void | SetUnoObject (const css::uno::Any &aObj) |
| SbxBase * | GetObject () const |
Public Member Functions inherited from SbModule | |
| SBX_DECL_PERSIST_NODATA (SBXID_BASICMOD, 2) | |
| SbModule (const OUString &, bool bVBASupport=false) | |
| virtual SAL_DLLPRIVATE void | SetParent (SbxObject *) override |
| virtual SAL_DLLPRIVATE void | Clear () override |
| virtual SAL_DLLPRIVATE SbxVariable * | Find (const OUString &, SbxClassType) override |
| const OUString & | GetSource32 () const |
| void | SetSource32 (const OUString &r) |
| bool | Compile () |
| bool | IsCompiled () const |
| SAL_DLLPRIVATE const SbxObject * | FindType (const OUString &aTypeName) const |
| SAL_DLLPRIVATE bool | IsBreakable (sal_uInt16 nLine) const |
| SAL_DLLPRIVATE bool | IsBP (sal_uInt16 nLine) const |
| bool | SetBP (sal_uInt16 nLine) |
| bool | ClearBP (sal_uInt16 nLine) |
| void | ClearAllBP () |
| SAL_DLLPRIVATE void | StoreBinaryData (SvStream &) |
| SAL_DLLPRIVATE void | LoadBinaryData (SvStream &) |
| SAL_DLLPRIVATE bool | ExceedsImgVersion12ModuleSize () |
| SAL_DLLPRIVATE void | fixUpMethodStart (bool bCvtToLegacy, SbiImage *pImg=nullptr) const |
| SAL_DLLPRIVATE bool | HasExeCode () |
| bool | IsVBASupport () const |
| SAL_DLLPRIVATE void | SetVBASupport (bool bSupport) |
| sal_Int32 | GetModuleType () const |
| void | SetModuleType (sal_Int32 nType) |
| bool | isProxyModule () const |
| SAL_DLLPRIVATE void | AddVarName (const OUString &aName) |
| SAL_DLLPRIVATE void | RemoveVars () |
| css::uno::Reference< css::script::XInvocation > const & | GetUnoModule () |
| bool | createCOMWrapperForIface (css::uno::Any &o_rRetAny, SbClassModuleObject *pProxyClassModuleObject) |
| void | GetCodeCompleteDataFromParse (CodeCompleteDataCache &aCache) |
| const SbxArrayRef & | GetMethods () const |
| SbMethod * | FindMethod (const OUString &, SbxClassType) |
Public Member Functions inherited from SbxObject | |
| SBX_DECL_PERSIST_NODATA (SBXID_OBJECT, 1) | |
| SbxObject (const OUString &rClassname) | |
| SbxObject (const SbxObject &) | |
| SbxObject & | operator= (const SbxObject &) |
| virtual SbxDataType | GetType () const override |
| virtual SbxClassType | GetClass () const override |
| virtual void | Clear () override |
| virtual bool | IsClass (const OUString &) const |
| const OUString & | GetClassName () const |
| void | SetClassName (const OUString &rNew) |
| SbxProperty * | GetDfltProperty () |
| void | SetDfltProperty (const OUString &r) |
| virtual SbxVariable * | Find (const OUString &, SbxClassType) |
| SbxVariable * | FindQualified (const OUString &, SbxClassType) |
| virtual bool | Call (const OUString &, SbxArray *=nullptr) |
| SbxVariable * | Execute (const OUString &) |
| SbxVariable * | Make (const OUString &, SbxClassType, SbxDataType, bool bIsRuntimeFunction=false) |
| virtual void | Insert (SbxVariable *) |
| void | QuickInsert (SbxVariable *) |
| void | Remove (const OUString &, SbxClassType) |
| virtual void | Remove (SbxVariable *) |
| SbxArray * | GetMethods () |
| SbxArray * | GetProperties () |
| SbxArray * | GetObjects () |
| void | Dump (SvStream &, bool bDumpAll) |
Public Member Functions inherited from SbxVariable | |
| SBX_DECL_PERSIST_NODATA (SBXID_VARIABLE, 2) | |
| SbxVariable () | |
| SbxVariable (SbxDataType) | |
| SbxVariable (const SbxVariable &) | |
| SbxVariable & | operator= (const SbxVariable &) |
| void | Dump (SvStream &, bool bDumpAll) |
| void | SetName (const OUString &) |
| const OUString & | GetName (SbxNameType=SbxNameType::NONE) const |
| sal_uInt16 | GetHashCode () const |
| virtual void | SetModified (bool) override |
| sal_uInt32 | GetUserData () const |
| void | SetUserData (sal_uInt32 n) |
| virtual SbxDataType | GetType () const override |
| virtual SbxClassType | GetClass () const |
| virtual SbxInfo * | GetInfo () |
| void | SetInfo (SbxInfo *p) |
| void | SetParameters (SbxArray *p) |
| SbxArray * | GetParameters () const |
| SfxBroadcaster & | GetBroadcaster () |
| bool | IsBroadcaster () const |
| virtual void | Broadcast (SfxHintId nHintId) override |
| const SbxObject * | GetParent () const |
| SbxObject * | GetParent () |
| virtual void | SetParent (SbxObject *) |
| const OUString & | GetDeclareClassName () const |
| void | SetDeclareClassName (const OUString &) |
| void | SetComListener (const css::uno::Reference< css::uno::XInterface > &xComListener, StarBASIC *pParentBasic) |
| void | ClearComListener () |
Public Member Functions inherited from SbxValue | |
| SBX_DECL_PERSIST_NODATA (SBXID_VALUE, 1) | |
| SbxValue () | |
| SbxValue (SbxDataType) | |
| SbxValue (const SbxValue &) | |
| SbxValue & | operator= (const SbxValue &) |
| virtual void | Clear () override |
| virtual bool | IsFixed () const override |
| bool | IsInteger () const |
| bool | IsLong () const |
| bool | IsDouble () const |
| bool | IsString () const |
| bool | IsCurrency () const |
| bool | IsObject () const |
| bool | IsBool () const |
| bool | IsErr () const |
| bool | IsEmpty () const |
| bool | IsNull () const |
| bool | IsNumeric () const |
| bool | IsNumericRTL () const |
| bool | ImpIsNumeric (bool bOnlyIntntl) const |
| virtual SbxDataType | GetType () const override |
| SbxDataType | GetFullType () const |
| bool | SetType (SbxDataType) |
| bool | Get (SbxValues &) const |
| const SbxValues & | GetValues_Impl () const |
| bool | Put (const SbxValues &) |
| SbxValues * | data () |
| sal_Unicode | GetChar () const |
| sal_Int16 | GetInteger () const |
| sal_Int32 | GetLong () const |
| sal_Int64 | GetInt64 () const |
| sal_uInt64 | GetUInt64 () const |
| sal_Int64 | GetCurrency () const |
| SbxDecimal * | GetDecimal () const |
| float | GetSingle () const |
| double | GetDouble () const |
| double | GetDate () const |
| bool | GetBool () const |
| const OUString & | GetCoreString () const |
| OUString | GetOUString () const |
| SbxBase * | GetObject () const |
| sal_uInt8 | GetByte () const |
| sal_uInt16 | GetUShort () const |
| sal_uInt32 | GetULong () const |
| bool | PutInteger (sal_Int16) |
| bool | PutLong (sal_Int32) |
| bool | PutSingle (float) |
| bool | PutDouble (double) |
| void | PutDate (double) |
| bool | PutBool (bool) |
| void | PutErr (sal_uInt16) |
| void | PutStringExt (const OUString &) |
| bool | PutInt64 (sal_Int64) |
| bool | PutUInt64 (sal_uInt64) |
| bool | PutString (const OUString &) |
| bool | PutChar (sal_Unicode) |
| bool | PutByte (sal_uInt8) |
| bool | PutUShort (sal_uInt16) |
| bool | PutULong (sal_uInt32) |
| bool | PutEmpty () |
| void | PutNull () |
| void | PutDecimal (css::bridge::oleautomation::Decimal const &rAutomationDec) |
| bool | PutDecimal (SbxDecimal *pDecimal) |
| void | fillAutomationDecimal (css::bridge::oleautomation::Decimal &rAutomationDec) const |
| bool | PutCurrency (sal_Int64) |
| bool | PutObject (SbxBase *) |
| bool | Convert (SbxDataType) |
| bool | Compute (SbxOperator, const SbxValue &) |
| bool | Compare (SbxOperator, const SbxValue &) const |
| bool | Scan (const OUString &, sal_uInt16 *) |
| void | Format (OUString &, const OUString *=nullptr) const |
| bool | operator<= (const SbxValue &) const |
| bool | operator>= (const SbxValue &) const |
| SbxValue & | operator*= (const SbxValue &) |
| SbxValue & | operator/= (const SbxValue &) |
| SbxValue & | operator+= (const SbxValue &) |
| SbxValue & | operator-= (const SbxValue &) |
Public Member Functions inherited from SbxBase | |
| void | SetFlags (SbxFlagBits n) |
| SbxFlagBits | GetFlags () const |
| void | SetFlag (SbxFlagBits n) |
| void | ResetFlag (SbxFlagBits n) |
| bool | IsSet (SbxFlagBits n) const |
| bool | IsReset (SbxFlagBits n) const |
| bool | CanRead () const |
| bool | CanWrite () const |
| bool | IsModified () const |
| bool | IsHidden () const |
| bool | IsVisible () const |
| virtual bool | IsFixed () const |
| virtual void | SetModified (bool) |
| virtual SbxDataType | GetType () const |
| virtual void | Clear ()=0 |
| std::pair< bool, sal_uInt32 > | Store (SvStream &) |
| virtual bool | LoadCompleted () |
Public Member Functions inherited from SvRefBase | |
| SvRefBase () | |
| SvRefBase (const SvRefBase &) | |
| SvRefBase & | operator= (const SvRefBase &) |
| void | RestoreNoDelete () |
| void | AddNextRef () |
| void | AddFirstRef () |
| void | ReleaseRef () |
| unsigned int | GetRefCount () const |
Public Member Functions inherited from SfxListener | |
| SfxListener () | |
| SfxListener (const SfxListener &rCopy) | |
| virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
| void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
| void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
| void | EndListeningAll () |
| bool | IsListening (SfxBroadcaster &rBroadcaster) const |
| sal_uInt16 | GetBroadcasterCount () const |
| SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
| void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
| virtual bool | IsSdrView () const |
Private Attributes | |
| SbUserFormModule * | m_pParentModule |
Additional Inherited Members | |
Static Public Member Functions inherited from SbModule | |
| static OUString | GetKeywordCase (std::u16string_view sKeyword) |
Static Public Member Functions inherited from SbxVariable | |
| static OUString | NameToCaseInsensitiveName (const OUString &rName) |
| static constexpr sal_uInt16 | MakeHashCode (std::u16string_view aName) |
Static Public Member Functions inherited from SbxValue | |
| static ErrCode | ScanNumIntnl (const OUString &rSrc, double &nVal, bool bSingle=false) |
Static Public Member Functions inherited from SbxBase | |
| static SbxBaseRef | Load (SvStream &) |
| static ErrCode const & | GetError () |
| static OUString const & | GetErrorMsg () |
| static void | SetError (ErrCode) |
| static void | SetError (ErrCode, const OUString &) |
| static bool | IsError () |
| static void | ResetError () |
| static void | AddFactory (SbxFactory *) |
| static void | RemoveFactory (SbxFactory const *) |
| static SbxBaseRef | Create (sal_uInt16, sal_uInt32) |
| static SbxObjectRef | CreateObject (const OUString &) |
Protected Member Functions inherited from SbObjModule | |
| virtual | ~SbObjModule () override |
Protected Member Functions inherited from SbModule | |
| SAL_DLLPRIVATE void | StartDefinitions () |
| SAL_DLLPRIVATE SbMethod * | GetMethod (const OUString &, SbxDataType) |
| SAL_DLLPRIVATE SbProperty * | GetProperty (const OUString &, SbxDataType) |
| SAL_DLLPRIVATE void | GetProcedureProperty (const OUString &, SbxDataType) |
| SAL_DLLPRIVATE void | GetIfaceMapperMethod (const OUString &, SbMethod *) |
| SAL_DLLPRIVATE void | EndDefinitions (bool=false) |
| SAL_DLLPRIVATE void | Run (SbMethod *) |
| SAL_DLLPRIVATE void | RunInit () |
| SAL_DLLPRIVATE void | ClearPrivateVars () |
| SAL_DLLPRIVATE void | ClearVarsDependingOnDeletedBasic (StarBASIC *pDeletedBasic) |
| SAL_DLLPRIVATE void | GlobalRunInit (bool bBasicStart) |
| SAL_DLLPRIVATE void | GlobalRunDeInit () |
| SAL_DLLPRIVATE const sal_uInt8 * | FindNextStmnt (const sal_uInt8 *, sal_uInt16 &, sal_uInt16 &) const |
| SAL_DLLPRIVATE const sal_uInt8 * | FindNextStmnt (const sal_uInt8 *, sal_uInt16 &, sal_uInt16 &, bool bFollowJumps, const SbiImage *pImg=nullptr) const |
| virtual SAL_DLLPRIVATE bool | LoadData (SvStream &, sal_uInt16) override |
| virtual SAL_DLLPRIVATE std::pair< bool, sal_uInt32 > | StoreData (SvStream &) const override |
| virtual SAL_DLLPRIVATE bool | LoadCompleted () override |
| virtual SAL_DLLPRIVATE void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| SAL_DLLPRIVATE void | handleProcedureProperties (SfxBroadcaster &rBC, const SfxHint &rHint) |
| virtual | ~SbModule () override |
| bool | IsOptionCompatible () const override |
Protected Member Functions inherited from SbxObject | |
| virtual bool | LoadData (SvStream &, sal_uInt16) override |
| virtual std::pair< bool, sal_uInt32 > | StoreData (SvStream &) const override |
| virtual | ~SbxObject () override |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| virtual bool | IsOptionCompatible () const |
Protected Member Functions inherited from SbxVariable | |
| virtual | ~SbxVariable () override |
| virtual bool | LoadData (SvStream &, sal_uInt16) override |
| virtual std::pair< bool, sal_uInt32 > | StoreData (SvStream &) const override |
Protected Member Functions inherited from SbxValue | |
| virtual void | Broadcast (SfxHintId) |
| virtual | ~SbxValue () override |
| virtual bool | LoadData (SvStream &, sal_uInt16) override |
| virtual std::pair< bool, sal_uInt32 > | StoreData (SvStream &) const override |
Protected Member Functions inherited from SbxBase | |
| SbxBase () | |
| SbxBase (const SbxBase &) | |
| SbxBase & | operator= (const SbxBase &) |
| virtual | ~SbxBase () override |
| virtual sal_uInt16 | GetVersion () const =0 |
| virtual sal_uInt16 | GetSbxId () const =0 |
Protected Member Functions inherited from SvRefBase | |
| virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Static Protected Member Functions inherited from SbModule | |
| static SAL_DLLPRIVATE void | implProcessModuleRunInit (ModuleInitDependencyMap &rMap, ClassModuleRunInitItem &rItem) |
Protected Attributes inherited from SbModule | |
| css::uno::Reference< css::script::XInvocation > | mxWrapper |
| OUString | aOUSource |
| OUString | aComment |
| std::unique_ptr< SbiImage > | pImage |
| SbiBreakpoints * | pBreaks |
| std::unique_ptr< SbClassData > | pClassData |
| bool | mbVBASupport |
| bool | mbCompat |
| sal_Int32 | mnType |
| SbxObjectRef | pDocObject |
| bool | bIsProxyModule |
Protected Attributes inherited from SbxObject | |
| SbxArrayRef | pMethods |
| SbxArrayRef | pProps |
| SbxArrayRef | pObjs |
| SbxProperty * | pDfltProp |
| OUString | aClassName |
| OUString | aDfltPropName |
Protected Attributes inherited from SbxVariable | |
| SbxInfoRef | pInfo |
| sal_uInt32 | nUserData = 0 |
| SbxObject * | pParent = nullptr |
Protected Attributes inherited from SbxValue | |
| SbxValues | aData |
| OUString | aPic |
| OUString | aToolString |
Protected Attributes inherited from SbxBase | |
| SbxFlagBits | nFlags |
Definition at line 83 of file sbobjmod.hxx.
| SbUserFormModuleInstance::SbUserFormModuleInstance | ( | SbUserFormModule * | pParentModule, |
| const OUString & | rName, | ||
| const css::script::ModuleInfo & | mInfo, | ||
| bool | bIsVBACompat | ||
| ) |
Definition at line 2520 of file sbxmod.cxx.
References mInfo.
|
overridevirtual |
Reimplemented from SbUserFormModule.
Definition at line 2534 of file sbxmod.cxx.
References SbUserFormModule::Find(), m_pParentModule, and t.
|
overridevirtual |
Reimplemented from SbxObject.
Definition at line 2527 of file sbxmod.cxx.
References SbxVariable::GetName(), SbxObject::IsClass(), and m_pParentModule.
|
private |
Definition at line 85 of file sbobjmod.hxx.