LibreOffice Module sc (master) 1
|
#include <sfx2/objsh.hxx>
#include <sfx2/docfac.hxx>
#include <sfx2/sfxmodelfactory.hxx>
#include <sfx2/viewsh.hxx>
#include <o3tl/deleter.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/servicehelper.hxx>
#include <scdllapi.h>
#include <document.hxx>
#include <shellids.hxx>
#include <optutil.hxx>
#include <docuno.hxx>
#include <memory>
#include <string_view>
#include <unordered_map>
#include <map>
Go to the source code of this file.
Classes | |
class | ScDocShell |
class | ScDocShell::PrepareSaveGuard |
Do things that need to be done before saving to our own format and necessary clean ups in dtor. More... | |
class | ScDocShellModificator |
Create before modifications of the document and destroy thereafter. More... | |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::script |
namespace | com::sun::star::script::vba |
namespace | ooo |
namespace | ooo::vba |
namespace | ooo::vba::excel |
namespace | com::sun::star::datatransfer |
namespace | sfx2 |
namespace | HelperNotifyChanges |
Macros | |
#define | SC_PF_LINES 1 |
#define | SC_PF_TESTMERGE 2 |
#define | SC_PF_WHOLEROWS 4 |
Typedefs | |
typedef std::unordered_map< sal_uLong, sal_uLong > | ScChangeActionMergeMap |
typedef tools::SvRef< ScDocShell > | ScDocShellRef |
Enumerations | |
enum class | LOKCommentNotificationType { Add , Modify , Remove } |
Functions | |
SAL_DLLPUBLIC_EXPORT bool | TestImportDBF (SvStream &rStream) |
void | UpdateAcceptChangesDialog () |
bool | HelperNotifyChanges::isDataAreaInvalidateType (std::u16string_view rType) |
bool | HelperNotifyChanges::getMustPropagateChangesModel (ScModelObj *pModelObj) |
void | HelperNotifyChanges::Notify (ScModelObj &rModelObj, const ScRangeList &rChangeRanges, const OUString &rType=OUString("cell-change"), const css::uno::Sequence< css::beans::PropertyValue > &rProperties=css::uno::Sequence< css::beans::PropertyValue >()) |
void | HelperNotifyChanges::NotifyIfChangesListeners (const ScDocShell &rDocShell, const ScRange &rRange, const OUString &rType=OUString("cell-change")) |
void | VBA_InsertModule (ScDocument &rDoc, SCTAB nTab, const OUString &sModuleSource) |
typedef std::unordered_map< sal_uLong, sal_uLong > ScChangeActionMergeMap |
typedef tools::SvRef<ScDocShell> ScDocShellRef |
|
strong |
SAL_DLLPUBLIC_EXPORT bool TestImportDBF | ( | SvStream & | rStream | ) |
void UpdateAcceptChangesDialog | ( | ) |
notify all views
Definition at line 1404 of file docsh4.cxx.
References SfxViewFrame::Current(), SfxViewFrame::GetChildWindow(), and SfxViewFrame::HasChildWindow().
Referenced by ScDocShell::Execute(), ScDocShell::ExecuteChangeProtectionDialog(), ScDocShell::SetChangeRecording(), and ScDocShell::SetProtectionPassword().
void VBA_InsertModule | ( | ScDocument & | rDoc, |
SCTAB | nTab, | ||
const OUString & | sModuleSource | ||
) |
Definition at line 3197 of file docfunc.cxx.
References SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), ScDocument::GetDocumentShell(), BasicManager::GetName(), lcl_InitModuleInfo(), and ScDocument::SetCodeName().
Referenced by ScDocFunc::InsertTable(), ScDocShell::MoveTable(), and ScDocument::TransferTab().