|
LibreOffice Module sfx2 (master) 1
|
#include <fltoptint.hxx>#include <sfx2/brokenpackageint.hxx>#include <sfx2/docfile.hxx>#include <sfx2/frame.hxx>#include <sfx2/msg.hxx>#include <sfx2/msgpool.hxx>#include <sfx2/sfxsids.hrc>#include <sfx2/sfxuno.hxx>#include <sfxslots.hxx>#include <sal/config.h>#include <sal/log.hxx>#include <comphelper/interaction.hxx>#include <osl/diagnose.h>#include <svl/eitem.hxx>#include <svl/intitem.hxx>#include <svl/itempool.hxx>#include <svl/slstitm.hxx>#include <svl/stritem.hxx>#include <tools/debug.hxx>#include <cppuhelper/implbase.hxx>#include <com/sun/star/document/BrokenPackageRequest.hpp>#include <com/sun/star/document/FilterOptionsRequest.hpp>#include <com/sun/star/frame/XFrame.hpp>#include <com/sun/star/frame/XModel.hpp>#include <com/sun/star/io/XInputStream.hpp>#include <com/sun/star/io/XOutputStream.hpp>#include <com/sun/star/task/XInteractionHandler.hpp>#include <com/sun/star/task/XStatusIndicator.hpp>#include <com/sun/star/ucb/XContent.hpp>#include <memory>Go to the source code of this file.
Classes | |
| class | RequestPackageReparation_Impl |
| class | NotifyBrokenPackage_Impl |
Functions | |
| static bool | isMediaDescriptor (sal_uInt16 nSlotId) |
| void | TransformParameters (sal_uInt16 nSlotId, const uno::Sequence< beans::PropertyValue > &rArgs, SfxAllItemSet &rSet, const SfxSlot *pSlot) |
| void | TransformItems (sal_uInt16 nSlotId, const SfxItemSet &rSet, uno::Sequence< beans::PropertyValue > &rArgs, const SfxSlot *pSlot) |
Variables | |
| SfxFormalArgument const | aFormalArgs [] |
| sal_uInt16 const | nMediaArgsCount = SAL_N_ELEMENTS(aFormalArgs) |
| constexpr OUStringLiteral | sTemplateRegionName = u"TemplateRegionName" |
| constexpr OUStringLiteral | sTemplateName = u"TemplateName" |
| constexpr OUStringLiteral | sAsTemplate = u"AsTemplate" |
| constexpr OUStringLiteral | sOpenNewView = u"OpenNewView" |
| constexpr OUStringLiteral | sViewId = u"ViewId" |
| constexpr OUStringLiteral | sPluginMode = u"PluginMode" |
| constexpr OUStringLiteral | sReadOnly = u"ReadOnly" |
| constexpr OUStringLiteral | sDdeReconnect = u"DDEReconnect" |
| constexpr OUStringLiteral | sStartPresentation = u"StartPresentation" |
| constexpr OUStringLiteral | sFrameName = u"FrameName" |
| constexpr OUStringLiteral | sMediaType = u"MediaType" |
| constexpr OUStringLiteral | sPostData = u"PostData" |
| constexpr OUStringLiteral | sCharacterSet = u"CharacterSet" |
| constexpr OUStringLiteral | sInputStream = u"InputStream" |
| constexpr OUStringLiteral | sStream = u"Stream" |
| constexpr OUStringLiteral | sOutputStream = u"OutputStream" |
| constexpr OUStringLiteral | sHidden = u"Hidden" |
| constexpr OUStringLiteral | sPreview = u"Preview" |
| constexpr OUStringLiteral | sViewOnly = u"ViewOnly" |
| constexpr OUStringLiteral | sDontEdit = u"DontEdit" |
| constexpr OUStringLiteral | sSilent = u"Silent" |
| constexpr OUStringLiteral | sJumpMark = u"JumpMark" |
| constexpr OUStringLiteral | sSalvagedFile = u"SalvagedFile" |
| constexpr OUStringLiteral | sStatusInd = u"StatusIndicator" |
| constexpr OUStringLiteral | sModel = u"Model" |
| constexpr OUStringLiteral | sFrame = u"Frame" |
| constexpr OUStringLiteral | sViewData = u"ViewData" |
| constexpr OUStringLiteral | sFilterData = u"FilterData" |
| constexpr OUStringLiteral | sSelectionOnly = u"SelectionOnly" |
| constexpr OUStringLiteral | sMacroExecMode = u"MacroExecutionMode" |
| constexpr OUStringLiteral | sUpdateDocMode = u"UpdateDocMode" |
| constexpr OUStringLiteral | sMinimized = u"Minimized" |
| constexpr OUStringLiteral | sInteractionHdl = u"InteractionHandler" |
| constexpr OUStringLiteral | sUCBContent = u"UCBContent" |
| constexpr OUStringLiteral | sRepairPackage = u"RepairPackage" |
| constexpr OUStringLiteral | sDocumentTitle = u"DocumentTitle" |
| constexpr OUStringLiteral | sComponentData = u"ComponentData" |
| constexpr OUStringLiteral | sComponentContext = u"ComponentContext" |
| constexpr OUStringLiteral | sDocumentBaseURL = u"DocumentBaseURL" |
| constexpr OUStringLiteral | sHierarchicalDocumentName = u"HierarchicalDocumentName" |
| constexpr OUStringLiteral | sCopyStreamIfPossible = u"CopyStreamIfPossible" |
| constexpr OUStringLiteral | sNoAutoSave = u"NoAutoSave" |
| constexpr OUStringLiteral | sFolderName = u"FolderName" |
| constexpr OUStringLiteral | sUseSystemDialog = u"UseSystemDialog" |
| constexpr OUStringLiteral | sStandardDir = u"StandardDir" |
| constexpr OUStringLiteral | sDenyList = u"DenyList" |
| constexpr OUStringLiteral | sModifyPasswordInfo = u"ModifyPasswordInfo" |
| constexpr OUStringLiteral | sSuggestedSaveAsDir = u"SuggestedSaveAsDir" |
| constexpr OUStringLiteral | sSuggestedSaveAsName = u"SuggestedSaveAsName" |
| constexpr OUStringLiteral | sEncryptionData = u"EncryptionData" |
| constexpr OUStringLiteral | sFailOnWarning = u"FailOnWarning" |
| constexpr OUStringLiteral | sDocumentService = u"DocumentService" |
| constexpr OUStringLiteral | sFilterProvider = u"FilterProvider" |
| constexpr OUStringLiteral | sImageFilter = u"ImageFilter" |
| constexpr OUStringLiteral | sLockContentExtraction = u"LockContentExtraction" |
| constexpr OUStringLiteral | sLockExport = u"LockExport" |
| constexpr OUStringLiteral | sLockPrint = u"LockPrint" |
| constexpr OUStringLiteral | sLockSave = u"LockSave" |
| constexpr OUStringLiteral | sLockEditDoc = u"LockEditDoc" |
| constexpr OUStringLiteral | sReplaceable = u"Replaceable" |
|
static |
Definition at line 159 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
| void TransformItems | ( | sal_uInt16 | nSlotId, |
| const SfxItemSet & | rSet, | ||
| uno::Sequence< beans::PropertyValue > & | rArgs, | ||
| const SfxSlot * | pSlot | ||
| ) |
Definition at line 908 of file appuno.cxx.
References SfxType::aAttrib, aFormalArgs, CONVERT_TWIPS, SfxItemSet::Count(), DBG_ASSERT, SfxSlot::GetFormalArgument(), SfxSlot::GetFormalArgumentCount(), SfxItemSet::GetItem(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SfxSlot::GetSlotId(), SfxSlot::GetType(), SfxItemPool::GetWhich(), SfxItemSet::HasItem(), isMediaDescriptor(), SfxSlot::IsMode(), METHOD, n, SfxTypeAttrib::nAID, SfxSlot::nArgDefCount, SfxType::nAttribs, nId, nMediaArgsCount, SfxFormalArgument::nSlotId, SfxTypeAttrib::pName, SfxFormalArgument::pName, SfxFormalArgument::pType, SfxSlot::pUnoName, SfxPoolItem::QueryValue(), rSet, SAL_WARN, sAsTemplate, sCharacterSet, sComponentContext, sComponentData, sCopyStreamIfPossible, sDdeReconnect, sDenyList, sDocumentBaseURL, sDocumentService, sDocumentTitle, sDontEdit, sEncryptionData, sFailOnWarning, sFilterData, sFilterProvider, sFolderName, sFrame, sFrameName, SFX_SLOTPOOL, sHidden, sHierarchicalDocumentName, sImageFilter, sInputStream, sInteractionHdl, sJumpMark, sLockContentExtraction, sLockEditDoc, sLockExport, sLockPrint, sLockSave, sMacroExecMode, sMediaType, sMinimized, sModel, sModifyPasswordInfo, sNoAutoSave, sOpenNewView, sOutputStream, sPluginMode, sPostData, sPreview, sReadOnly, sRepairPackage, sReplaceable, sSalvagedFile, sSelectionOnly, sSilent, sStandardDir, sStartPresentation, sStatusInd, sStream, sSuggestedSaveAsDir, sSuggestedSaveAsName, sTemplateName, sTemplateRegionName, sUCBContent, sUpdateDocMode, sUseSystemDialog, sViewData, sViewId, and sViewOnly.
Referenced by SfxBaseModel::checkIn(), SfxBaseModel::checkOut(), SfxObjectShell::CreateAndLoadComponent(), SfxFrame::CreateHidden(), SfxStateCache::Dispatch(), SfxObjectShell::DoInitNew(), SfxRequest::Done_Impl(), SfxObjectShell::DoSaveCompleted(), SfxObjectShell::ExecFile_Impl(), SfxViewShell::ExecPrint_Impl(), SfxViewFrame::ExecReload_Impl(), SfxObjectShell::ExportTo(), SfxBaseModel::getArgs2(), SfxMedium::GetLockingStream_Impl(), SfxMedium::GetMedium_Impl(), SfxObjectShell::HandleFilter(), SfxObjectShell::ImportFrom(), SfxObjectShell::InitOwnModel_Impl(), SfxApplication::LoadTemplate(), SfxBaseModel::Notify(), SfxApplication::OfaExec_Impl(), SfxApplication::OpenDocExec_Impl(), ModelData_Impl::OutputFileDialog(), and SfxBaseModel::storeAsURL().
| void TransformParameters | ( | sal_uInt16 | nSlotId, |
| const uno::Sequence< beans::PropertyValue > & | rArgs, | ||
| SfxAllItemSet & | rSet, | ||
| const SfxSlot * | pSlot | ||
| ) |
Definition at line 170 of file appuno.cxx.
References SfxType::aAttrib, aFormalArgs, aName, aStr, CONVERT_TWIPS, SfxType::CreateItem(), SfxFormalArgument::CreateItem(), DBG_ASSERT, SfxSlot::GetFormalArgument(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxSlot::GetType(), SfxItemPool::GetWhich(), isMediaDescriptor(), SfxSlot::IsMode(), METHOD, SfxTypeAttrib::nAID, SfxSlot::nArgDefCount, SfxType::nAttribs, nCount, nMediaArgsCount, SfxFormalArgument::nSlotId, SfxTypeAttrib::pName, SfxFormalArgument::pName, SfxFormalArgument::pType, SfxSlot::pUnoName, SfxItemSet::Put(), rSet, SAL_INFO, SAL_WARN, SAL_WARN_IF, sAsTemplate, sCharacterSet, sComponentContext, sComponentData, sCopyStreamIfPossible, sDdeReconnect, sDenyList, sDocumentBaseURL, sDocumentService, sDocumentTitle, sDontEdit, sEncryptionData, SfxStringListItem::SetStringList(), sFailOnWarning, sFilterData, sFilterProvider, sFolderName, sFrame, sFrameName, SFX_SLOTPOOL, sHidden, sHierarchicalDocumentName, sImageFilter, sInputStream, sInteractionHdl, sJumpMark, sLockContentExtraction, sLockEditDoc, sLockExport, sLockPrint, sLockSave, sMacroExecMode, sMediaType, sMinimized, sModel, sModifyPasswordInfo, sNoAutoSave, sOpenNewView, sOutputStream, sPluginMode, sPostData, sPreview, sReadOnly, sRepairPackage, sReplaceable, sSalvagedFile, sSelectionOnly, sSilent, sStandardDir, sStartPresentation, sStatusInd, sStream, sSuggestedSaveAsDir, sSuggestedSaveAsName, sTemplateName, sTemplateRegionName, sUCBContent, sUpdateDocMode, sUseSystemDialog, sViewData, sViewId, sViewOnly, and xFrame.
Referenced by SfxBaseModel::attachResource(), SfxDispatchController_Impl::dispatch(), SfxObjectShell::ExecFile_Impl(), SfxBaseModel::getArgs2(), SfxObjectShell::HandleFilter(), SfxBaseModel::impl_store(), SfxObjectShell::ImportFromGeneratedStream_Impl(), SfxBaseModel::loadFromStorage(), ModelData_Impl::OutputFileDialog(), SfxRequest::SfxRequest(), SfxBaseModel::storeSelf(), and SfxBaseModel::storeToStorage().
| SfxFormalArgument const aFormalArgs[] |
Definition at line 62 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
| sal_uInt16 const nMediaArgsCount = SAL_N_ELEMENTS(aFormalArgs) |
Definition at line 96 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 100 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 110 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 135 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 134 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 138 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 105 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 143 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 136 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 149 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 133 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 117 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 147 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 148 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 125 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 150 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 140 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 123 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 107 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 114 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 137 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 151 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 111 of file appuno.cxx.
Referenced by SfxObjectShell::ImportFrom(), SfxMedium::SetArgs(), TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 130 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 119 of file appuno.cxx.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 152 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 156 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 153 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 154 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 155 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 127 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 108 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 129 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 122 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 144 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 139 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 101 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 113 of file appuno.cxx.
Referenced by SfxObjectShell::ExportTo(), TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 103 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 109 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 115 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 104 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 132 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 157 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 120 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 126 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 118 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 142 of file appuno.cxx.
Referenced by sfx2::FileDialogHelper_Impl::FileDialogHelper_Impl(), SfxStoringHelper::FinishGUIStoreModel(), SfxApplication::OpenDocExec_Impl(), TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 106 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 121 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 112 of file appuno.cxx.
Referenced by SfxObjectShell::ExportTo(), SfxMedium::SetArgs(), TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 145 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 146 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 99 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 98 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 131 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 128 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 141 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 124 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 102 of file appuno.cxx.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), SfxViewFrame::SaveCurrentViewData_Impl(), TransformItems(), and TransformParameters().
|
constexpr |
Definition at line 116 of file appuno.cxx.
Referenced by TransformItems(), and TransformParameters().