20#include <config_features.h>
26#include <com/sun/star/script/XLibraryContainer.hpp>
27#include <officecfg/Office/Common.hxx>
38#include <sfx2/sfxsids.hrc>
47#include <sfxslots.hxx>
53using ::basic::BasicManagerRepository;
58 if (
pImpl->pBasicManager->isValid() )
59 pImpl->pBasicManager->storeAllLibraries();
64#if !HAVE_FEATURE_SCRIPTING
69 return BasicManagerRepository::getApplicationBasicManager();
75#if !HAVE_FEATURE_SCRIPTING
80 if ( !
pImpl->pBasicManager->isValid() )
89#if !HAVE_FEATURE_SCRIPTING
94 if ( !
pImpl->pBasicManager->isValid() )
102#if !HAVE_FEATURE_SCRIPTING
113 sal_uInt16 nSID = rReq.
GetSlot();
116 case SID_ATTR_UNDO_COUNT:
120 std::shared_ptr< comphelper::ConfigurationChanges > batch(
122 officecfg::Office::Common::Undo::Steps::set(
123 pCountItem->GetValue(), batch);
141 case SID_ATTR_UNDO_COUNT:
145 officecfg::Office::Common::Undo::Steps::get()));
StarBASIC * GetLib(sal_uInt16 nLib) const
static StarBASIC * GetBasic()
static SAL_DLLPRIVATE void PropState_Impl(SfxItemSet &)
std::unique_ptr< SfxAppData_Impl > pImpl
css::script::XLibraryContainer * GetBasicContainer()
static SAL_DLLPRIVATE void PropExec_Impl(SfxRequest const &)
void SaveBasicAndDialogContainer() const
static BasicManager * GetBasicManager()
css::script::XLibraryContainer * GetDialogContainer()
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
sal_uInt16 GetSlot() const
const T * GetArg(sal_uInt16 nSlotId) const
Templatized access to the individual parameters of the SfxRequest.
static std::shared_ptr< ConfigurationChanges > create()