LibreOffice Module sw (master)  1
Classes | Namespaces | Typedefs | Functions
docsh.hxx File Reference
#include <memory>
#include <vector>
#include <rtl/ref.hxx>
#include <com/sun/star/uno/Sequence.h>
#include <sfx2/docfac.hxx>
#include <sfx2/objsh.hxx>
#include "swdllapi.h"
#include "shellid.hxx"
#include <svl/lstner.hxx>
#include <sfx2/StyleManager.hxx>
#include <o3tl/deleter.hxx>
Include dependency graph for docsh.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SwDocShell
 
class  SwDocShell::LockAllViewsGuard
 

Namespaces

 svt
 
 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::frame
 
 ooo
 
 ooo::vba
 
 ooo::vba::word
 

Typedefs

typedef std::unique_ptr< SwReader, o3tl::default_delete< SwReader > > SwReaderPtr
 

Functions

void InitDrawModelAndDocShell (SwDocShell *pSwDocShell, SwDrawModel *pSwDrawModel)
 
int SwFindDocShell (SfxObjectShellRef &xDocSh, SfxObjectShellLock &xLockRef, const OUString &rFileName, const OUString &rPasswd, const OUString &rFilter, sal_Int16 nVersion, SwDocShell *pDestSh)
 Find the right DocShell and create a new one: The return value specifies what should happen to the Shell 0 - Error, could not find the DocShell 1 - DocShell is an existing Document 2 - DocShell was created anew, thus it needs to be closed again (will be assigned to xLockRef additionally) More...
 

Typedef Documentation

typedef std::unique_ptr<SwReader, o3tl::default_delete<SwReader> > SwReaderPtr

Definition at line 44 of file docsh.hxx.

Function Documentation

void InitDrawModelAndDocShell ( SwDocShell pSwDocShell,
SwDrawModel pSwDrawModel 
)
int SwFindDocShell ( SfxObjectShellRef xDocSh,
SfxObjectShellLock xLockRef,
const OUString &  rFileName,
const OUString &  rPasswd,
const OUString &  rFilter,
sal_Int16  nVersion,
SwDocShell pDestSh 
)

Find the right DocShell and create a new one: The return value specifies what should happen to the Shell 0 - Error, could not find the DocShell 1 - DocShell is an existing Document 2 - DocShell was created anew, thus it needs to be closed again (will be assigned to xLockRef additionally)

Definition at line 1664 of file docsh2.cxx.

References SfxFilterMatcher::DetectFilter(), SfxObjectShell::DoLoad(), SfxFilterMatcher::GetFilter4FilterName(), SfxObjectShell::GetFirst(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), SfxObjectShell::GetNext(), INetURLObject::GetProtocol(), SfxMedium::GetURLObject(), INetURLObject::NONE, INetURLObject::SetMark(), and SwDocShell::SwDocShell().

Referenced by SwIntrnlSectRefLink::DataChanged(), and SwView::InsertMedium().