|
LibreOffice Module sw (master) 1
|
#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>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 std::unique_ptr<SwReader, o3tl::default_delete<SwReader> > SwReaderPtr |
| void InitDrawModelAndDocShell | ( | SwDocShell * | pSwDocShell, |
| SwDrawModel * | pSwDrawModel | ||
| ) |
Definition at line 32 of file docshdrw.cxx.
References SdrModel::GetBitmapList(), SdrModel::GetColorList(), SvxColorListItem::GetColorList(), SdrModel::GetDashList(), SdrModel::GetDrawOutliner(), SdrModel::GetGradientList(), SdrModel::GetHatchList(), GetHyphenator(), SfxShell::GetItem(), SdrModel::GetLineEndList(), FmFormModel::GetObjectShell(), SdrModel::GetPatternList(), XColorList::GetStdColorList(), utl::ConfigManager::IsFuzzing(), SfxShell::PutItem(), Outliner::SetHyphenator(), FmFormModel::SetObjectShell(), SdrModel::SetPersist(), and SdrModel::SetPropertyList().
Referenced by SwDocShell::ConvertFrom(), SwDocShell::Load(), SwDoc::SetDocShell(), SwDocShell::SubInitNew(), and SwDrawModel::SwDrawModel().
| 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().