|
LibreOffice Module sfx2 (master) 1
|
#include <com/sun/star/uno/Reference.h>#include <com/sun/star/beans/PropertyValue.hpp>#include <com/sun/star/beans/NamedValue.hpp>#include <com/sun/star/frame/FrameSearchFlag.hpp>#include <com/sun/star/frame/XDispatchProvider.hpp>#include <com/sun/star/frame/XFrame.hpp>#include <com/sun/star/frame/Desktop.hpp>#include <com/sun/star/util/URL.hpp>#include <com/sun/star/util/URLTransformer.hpp>#include <com/sun/star/util/XURLTransformer.hpp>#include <com/sun/star/system/SystemShellExecuteException.hpp>#include <com/sun/star/document/XTypeDetection.hpp>#include <com/sun/star/document/MacroExecMode.hpp>#include <com/sun/star/document/UpdateDocMode.hpp>#include <com/sun/star/task/ErrorCodeRequest.hpp>#include <com/sun/star/task/InteractionHandler.hpp>#include <com/sun/star/beans/XPropertySet.hpp>#include <com/sun/star/embed/ElementModes.hpp>#include <com/sun/star/embed/XStorage.hpp>#include <com/sun/star/container/XNameAccess.hpp>#include <com/sun/star/packages/WrongPasswordException.hpp>#include <com/sun/star/uno/Sequence.h>#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>#include <com/sun/star/lang/XMultiServiceFactory.hpp>#include <rtl/ustring.hxx>#include <comphelper/processfactory.hxx>#include <comphelper/sequence.hxx>#include <comphelper/storagehelper.hxx>#include <comphelper/string.hxx>#include <comphelper/synchronousdispatch.hxx>#include <svl/intitem.hxx>#include <svl/stritem.hxx>#include <svl/eitem.hxx>#include <sfx2/doctempl.hxx>#include <svtools/sfxecode.hxx>#include <preventduplicateinteraction.hxx>#include <svtools/ehdl.hxx>#include <unotools/pathoptions.hxx>#include <unotools/securityoptions.hxx>#include <unotools/moduleoptions.hxx>#include <unotools/extendedsecurityoptions.hxx>#include <comphelper/docpasswordhelper.hxx>#include <vcl/svapp.hxx>#include <vcl/weld.hxx>#include <sfx2/app.hxx>#include <sfx2/bindings.hxx>#include <sfx2/dispatch.hxx>#include <sfx2/docfile.hxx>#include <sfx2/docfilt.hxx>#include <sfx2/fcontnr.hxx>#include <sfx2/objitem.hxx>#include <sfx2/objsh.hxx>#include <svl/slstitm.hxx>#include <appopen.hxx>#include <sfx2/request.hxx>#include <sfx2/sfxresid.hxx>#include <sfx2/viewsh.hxx>#include <sfx2/strings.hrc>#include <sfx2/viewfrm.hxx>#include <sfx2/sfxuno.hxx>#include <sfx2/objface.hxx>#include <sfx2/filedlghelper.hxx>#include <sfx2/templatedlg.hxx>#include <sfx2/sfxsids.hrc>#include <o3tl/string_view.hxx>#include <openuriexternally.hxx>#include <officecfg/Office/ProtocolHandler.hxx>#include <officecfg/Office/Security.hxx>Go to the source code of this file.
Functions | |
| void | SetTemplate_Impl (std::u16string_view rFileName, const OUString &rLongName, SfxObjectShell *pDoc) |
| ErrCode | CheckPasswd_Impl (SfxObjectShell *pDoc, SfxMedium *pFile) |
| ErrCode CheckPasswd_Impl | ( | SfxObjectShell * | pDoc, |
| SfxMedium * | pFile | ||
| ) |
Definition at line 171 of file appopen.cxx.
References SfxItemSet::ClearItem(), comphelper::concatSequences(), comphelper::DocPasswordHelper::decryptGpgSession(), ERRCODE_IO_ABORT, ERRCODE_NONE, ERRCODE_SFX_CANTGETPASSWD, SfxObjectShell::GetDialogParent(), SfxMedium::GetFilter(), SfxMedium::GetInteractionHandler(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), SfxMedium::GetOrigURL(), SfxMedium::GetStorage(), CntUnencodedStringItem::GetValue(), SfxUnoAnyItem::GetValue(), SfxMedium::GetVersionList(), SfxMedium::IsStorage(), SfxItemSet::Put(), comphelper::DocPasswordHelper::requestAndVerifyDocPassword(), rSet, and comphelper::Standard.
Referenced by sfx2::DocumentInserter::CreateMedium(), sfx2::DocumentInserter::CreateMediumList(), and SfxObjectShell::LoadOwnFormat().
| void SetTemplate_Impl | ( | std::u16string_view | rFileName, |
| const OUString & | rLongName, | ||
| SfxObjectShell * | pDoc | ||
| ) |
Definition at line 104 of file appopen.cxx.
References SfxObjectShell::ResetFromTemplate().
Referenced by SfxApplication::LoadTemplate(), and SfxObjectShell::TemplateDisconnectionAfterLoad().