LibreOffice Module basic (master) 1
|
Functions | |
void | lockControllersOfAllDocuments (const uno::Reference< frame::XModel > &rxModel, bool bLockControllers) |
void | enableContainerWindowsOfAllDocuments (const uno::Reference< frame::XModel > &rxModel, bool bEnableWindows) |
void | registerCurrentDirectory (const uno::Reference< frame::XModel > &rxModel, const OUString &rPath) |
BASIC_DLLPUBLIC void | lockControllersOfAllDocuments (const css::uno::Reference< css::frame::XModel > &rxModel, bool bLockControllers) |
Locks or unlocks the controllers of all documents that have the same type as the specified document. More... | |
BASIC_DLLPUBLIC void | enableContainerWindowsOfAllDocuments (const css::uno::Reference< css::frame::XModel > &rxModel, bool bEnableWindows) |
Enables or disables the container windows of all controllers of all documents that have the same type as the specified document. More... | |
BASIC_DLLPUBLIC void | registerCurrentDirectory (const css::uno::Reference< css::frame::XModel > &rxModel, const OUString &rPath) |
Registers the passed path as working directory for the application the passed document belongs to. More... | |
BASIC_DLLPUBLIC void basic::vba::enableContainerWindowsOfAllDocuments | ( | const css::uno::Reference< css::frame::XModel > & | rxModel, |
bool | bEnableWindows | ||
) |
Enables or disables the container windows of all controllers of all documents that have the same type as the specified document.
First, the global module manager (com.sun.star.frame.ModuleManager) is asked for the type of the passed model, and the container windows of all open documents with the same type will be enabled or disabled.
rxModel | A document model determining the type of the documents to be enabled or disabled. |
bEnableWindows | Passing true will enable all container windows of all controllers, passing false will disable them. |
void basic::vba::enableContainerWindowsOfAllDocuments | ( | const uno::Reference< frame::XModel > & | rxModel, |
bool | bEnableWindows | ||
) |
Definition at line 157 of file vbahelper.cxx.
Referenced by SbModule::Run().
BASIC_DLLPUBLIC void basic::vba::lockControllersOfAllDocuments | ( | const css::uno::Reference< css::frame::XModel > & | rxModel, |
bool | bLockControllers | ||
) |
Locks or unlocks the controllers of all documents that have the same type as the specified document.
First, the global module manager (com.sun.star.frame.ModuleManager) is asked for the type of the passed model, and all open documents with the same type will be locked or unlocked.
rxModel | A document model determining the type of the documents to be locked or unlocked. |
bLockControllers | Passing true will lock all controllers, passing false will unlock them. |
void basic::vba::lockControllersOfAllDocuments | ( | const uno::Reference< frame::XModel > & | rxModel, |
bool | bLockControllers | ||
) |
Definition at line 151 of file vbahelper.cxx.
Referenced by SbModule::Run().
BASIC_DLLPUBLIC void basic::vba::registerCurrentDirectory | ( | const css::uno::Reference< css::frame::XModel > & | rxModel, |
const OUString & | rPath | ||
) |
Registers the passed path as working directory for the application the passed document belongs to.
rxModel | A document model determining the type of the application whose working directory has been changed. |
rPath | The new working directory. |
void basic::vba::registerCurrentDirectory | ( | const uno::Reference< frame::XModel > & | rxModel, |
const OUString & | rPath | ||
) |
Definition at line 163 of file vbahelper.cxx.