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_Impl
 

Namespaces

namespace  svt
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::frame
 
namespace  ooo
 
namespace  ooo::vba
 
namespace  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, std::u16string_view 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

◆ SwReaderPtr

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

Definition at line 45 of file docsh.hxx.

Function Documentation

◆ InitDrawModelAndDocShell()

void InitDrawModelAndDocShell ( SwDocShell pSwDocShell,
SwDrawModel pSwDrawModel 
)

◆ SwFindDocShell()

int SwFindDocShell ( SfxObjectShellRef xDocSh,
SfxObjectShellLock xLockRef,
std::u16string_view  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 1705 of file docsh2.cxx.

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

Referenced by SwView::InsertMedium().