LibreOffice Module sw (master)  1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
sfx2 Namespace Reference

Namespaces

 appl
 
 PreventDuplicateInteraction
 
 sidebar
 
 SvLinkSource
 
 XmlIdRegistryClipboard
 
 XmlIdRegistryDocument
 

Classes

struct  AppendFilter
 
struct  AppendFilterGroup
 
struct  AppendWildcardToDescriptor
 
struct  BaseLink_Impl
 
struct  CheckAppendSingleWildcard
 
class  ClassificationCategoriesController
 
class  ClassificationControl
 
class  ClassificationPropertyListener
 
struct  CopyGroupEntryContent
 
struct  CopyNonEmptyFilter
 
struct  CreateEmptyClassRememberPos
 
class  DocumentInserter
 
class  DocumentMacroMode
 
struct  DocumentMacroMode_Data
 
class  DocumentMetadataAccess
 
struct  DocumentMetadataAccess_Impl
 
class  DocumentSigner
 
class  DocumentStorageModifyListener
 
class  DocumentUndoManager
 
struct  DocumentUndoManager_Impl
 
struct  ExportFilter
 
class  FileDialogHelper
 
class  FileDialogHelper_Impl
 
struct  FillClassGroup
 
struct  FilterClass
 
struct  FindGroupEntry
 
class  IMacroDocumentAccess
 
class  IModifiableDocument
 
struct  ImplBaseLinkData
 
class  ImplDdeItem
 
class  IXmlIdRegistry
 
class  LinkManager
 
struct  LoadRecentFile
 
class  Metadatable
 
class  MetadatableClipboard
 
class  MetadatableMixin
 
class  MetadatableUndo
 
class  PreventDuplicateInteraction
 
struct  PtrHash
 
struct  ReadGlobalFilter
 
struct  ReadLocalFilter
 
class  RecentDocsView
 
struct  ReferToFilterEntry
 
struct  RMapEntry
 
class  SafeMode
 
class  SearchDialog
 
class  SfxModelFactory
 
class  SfxNotebookBar
 
class  SolarMutexFacade
 
class  StyleManager
 
class  StylePreviewRenderer
 
class  SvBaseLink
 
class  SvDDELinkEditDialog
 
class  SvDDEObject
 
class  SvLinkSource
 
class  SvLinkSource_Array_Impl
 
struct  SvLinkSource_Entry_Impl
 
class  SvLinkSource_EntryIter_Impl
 
struct  SvLinkSource_Impl
 
class  SvLinkSourceTimer
 
class  SvxInternalLink
 
struct  ThreadHelpBase2
 
class  TitledDockingWindow
 
class  TSortedFilterList
 
class  UndoManagerGuard
 
class  UserInputInterception
 
struct  UserInputInterception_Data
 
class  WarningDialogsParent
 
class  WarningDialogsParentScope
 
class  XmlIdRegistry
 
class  XmlIdRegistryClipboard
 
class  XmlIdRegistryDocument
 

Typedefs

typedef std::unordered_map< OUString, intKeywordInfo
 
typedef StringPair FilterDescriptor
 
typedef ::std::list< FilterDescriptorFilterGroup
 
typedef ::std::list< FilterGroupGroupedFilterList
 
typedef OUString FilterName
 
typedef ::std::map< OUString, FilterGroup::iterator > FilterGroupEntryReferrer
 
typedef ::std::list< FilterClassFilterClassList
 
typedef ::std::map< OUString, FilterClassList::iterator > FilterClassReferrer
 
typedef ::std::vector< ::std::pair< FilterGroupEntryReferrer::mapped_type, FilterGroup::iterator > > MapGroupEntry2GroupEntry
 
typedef ::std::vector< Metadatable * > XmlIdVector_t
 
typedef std::unordered_map< OUString,::std::pair< XmlIdVector_t, XmlIdVector_t > > XmlIdMap_t
 
typedef std::unordered_map< const Metadatable *,::std::pair< OUString, OUString >, PtrHash< Metadatable > > XmlIdReverseMap_t
 
typedef std::unordered_map< const Metadatable *, struct RMapEntry, PtrHash< Metadatable > > ClipboardXmlIdReverseMap_t
 
typedef std::unordered_map< OUString,::std::pair< Metadatable *, Metadatable * > > ClipboardXmlIdMap_t
 
typedef ::cppu::WeakImplHelper< XSingleServiceFactory, XServiceInfo > SfxModelFactory_Base
 
typedef comphelper::ConfigurationListenerProperty< OUString > ClassificationPropertyListenerBase
 
typedef cppu::ImplInheritanceHelper< svt::ToolboxController, lang::XServiceInfo > ClassificationCategoriesControllerBase
 
typedef std::vector< tools::SvRef< SvBaseLink > > SvBaseLinks
 
typedef std::set< SvLinkSource * > SvLinkSources
 
typedef tools::SvRef< SvLinkSourceSvLinkSourceRef
 
typedef css::uno::Reference< css::uno::XInterface >(* SfxModelFactoryFunc) (const css::uno::Reference< css::lang::XMultiServiceFactory > &_rxFactory, SfxModelFlags _nCreationFlags)
 

Enumerations

enum  open_or_save_t
 
enum  ApplicationType {
  ApplicationType::TYPE_NONE,
  ApplicationType::TYPE_WRITER,
  ApplicationType::TYPE_CALC,
  ApplicationType::TYPE_IMPRESS,
  ApplicationType::TYPE_DRAW,
  ApplicationType::TYPE_DATABASE,
  ApplicationType::TYPE_MATH,
  ApplicationType::TYPE_OTHER
}
 

Functions

 IMPL_LINK_NOARG (SvDDELinkEditDialog, EditHdl_Impl, weld::Entry &, void)
 
 IMPL_LINK (SvDDEObject, ImplGetDDEData, const DdeData *, pData, void)
 
 IMPL_LINK (SvDDEObject, ImplDoneDDEData, bool, bValid, void)
 
void MakeLnkName (OUString &rName, const OUString *pType, const OUString &rFile, const OUString &rLink, const OUString *pFilter)
 
static OUString lcl_DDE_RelToAbs (const OUString &rTopic, const OUString &rBaseURL)
 
static void StartTimer (std::unique_ptr< SvLinkSourceTimer > &pTimer, SvLinkSource *pOwner, sal_uInt64 nTimeout)
 
 IMPL_LINK (SvBaseLink, EndEditHdl, const OUString &, _rNewName, void)
 
void HandleTaskPaneList (vcl::Window *pWindow, bool bAddToList)
 
static OUString PrepareSearchString (const OUString &rSearchString, const Reference< XBreakIterator > &xBreak, bool bForSearch)
 
void AddToTaskPaneList (vcl::Window *pWindowToBeHandled)
 
void RemoveFromTaskPaneList (vcl::Window *pWindowToBeHandled)
 
 IMPL_STATIC_LINK_NOARG (WarningDialogsParent, TerminateDesktop, void *, void)
 
 IMPL_STATIC_LINK (RecentDocsView, ExecuteHdl_Impl, void *, p, void)
 
static const OUString * GetLastFilterConfigId (FileDialogHelper::Context _eContext)
 
static OUString EncodeSpaces_Impl (const OUString &rSource)
 
static OUString DecodeSpaces_Impl (const OUString &rSource)
 
 IMPL_LINK_NOARG (FileDialogHelper_Impl, TimeOutHdl_Impl, Timer *, void)
 
static bool lcl_isSystemFilePicker (const uno::Reference< XFilePicker3 > &_rxFP)
 
static open_or_save_t lcl_OpenOrSave (sal_Int16 const nDialogType)
 
 IMPL_LINK_NOARG (FileDialogHelper_Impl, InitControls, void *, void)
 
static void lcl_saveLastURLs (std::vector< OUString > &rpURLList,::std::vector< OUString > &lLastURLs)
 
static void SetToken (OUString &rOrigStr, sal_Int32 nToken, sal_Unicode cTok, const OUString &rStr)
 
 IMPL_LINK_NOARG (FileDialogHelper, ExecuteSystemFilePicker, void *, void)
 
static int impl_isFolder (const OUString &rPath)
 
ErrCode FileOpenDialog_Impl (weld::Window *pParent, sal_Int16 nDialogType, FileDialogFlags nFlags, std::vector< OUString > &rpURLList, OUString &rFilter, std::unique_ptr< SfxItemSet > &rpSet, const OUString *pPath, sal_Int16 nDialog, const OUString &rStandardDir, const css::uno::Sequence< OUString > &rBlackList)
 
ErrCode RequestPassword (const std::shared_ptr< const SfxFilter > &pCurrentFilter, OUString const &aURL, SfxItemSet *pSet, const css::uno::Reference< css::awt::XWindow > &rParent)
 
static void lcl_ReadFilterClass (const OConfigurationNode &_rClassesNode, const OUString &_rLogicalClassName, FilterClass &_rClass)
 
static void lcl_ReadGlobalFilters (const OConfigurationNode &_rFilterClassification, FilterClassList &_rGlobalClasses, std::vector< OUString > &_rGlobalClassNames)
 
static void lcl_ReadLocalFilters (const OConfigurationNode &_rFilterClassification, FilterClassList &_rLocalClasses)
 
static void lcl_ReadClassification (FilterClassList &_rGlobalClasses, std::vector< OUString > &_rGlobalClassNames, FilterClassList &_rLocalClasses)
 
static const sal_Unicode s_cWildcardSeparator ( ';')
 
static OUString getSeparatorString ()
 
static void lcl_InitGlobalClasses (GroupedFilterList &_rAllFilters, const FilterClassList &_rGlobalClasses, FilterGroupEntryReferrer &_rGlobalClassesRef)
 
static void lcl_GroupAndClassify (TSortedFilterList &_rFilterMatcher, GroupedFilterList &_rAllFilters)
 
static bool lcl_hasAllFilesFilter (TSortedFilterList &_rFilterMatcher, OUString &_rAllFilterName)
 
static void lcl_EnsureAllFilesEntry (TSortedFilterList &_rFilterMatcher, GroupedFilterList &_rFilters)
 
void appendFiltersForSave (TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl, const OUString &_rFactory)
 
void appendExportFilters (TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl)
 
void appendFiltersForOpen (TSortedFilterList &_rFilterMatcher, const Reference< XFilterManager > &_rxFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl)
 
OUString addExtension (const OUString &_rDisplayText, const OUString &_rExtension, bool _bForOpen, FileDialogHelper_Impl &_rFileDlgImpl)
 
void appendFiltersForSave (TSortedFilterList &_rFilterMatcher, const css::uno::Reference< css::ui::dialogs::XFilterManager > &_rFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl, const OUString &_rFactory)
 
void appendExportFilters (TSortedFilterList &_rFilterMatcher, const css::uno::Reference< css::ui::dialogs::XFilterManager > &_rFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl)
 
void appendFiltersForOpen (TSortedFilterList &_rFilterMatcher, const css::uno::Reference< css::ui::dialogs::XFilterManager > &_rFilterManager, OUString &_rFirstNonEmpty, FileDialogHelper_Impl &_rFileDlgImpl)
 
 IMPL_LINK_NOARG (SearchDialog, FindHdl, weld::Button &, void)
 
 IMPL_LINK (TitledDockingWindow, OnToolboxItemSelected, ToolBox *, pToolBox, void)
 
ErrCode LoadOlePropertySet (const uno::Reference< document::XDocumentProperties > &i_xDocProps, SotStorage *i_pStorage)
 
bool SaveOlePropertySet (const uno::Reference< document::XDocumentProperties > &i_xDocProps, SotStorage *i_pStorage, const uno::Sequence< sal_Int8 > *i_pThumb, const uno::Sequence< sal_Int8 > *i_pGuid, const uno::Sequence< sal_Int8 > *i_pHyperlinks)
 
uno::Sequence< sal_Int8convertMetaFile (GDIMetaFile const *i_pThumb)
 
static void impl_FillURLList (sfx2::FileDialogHelper const *_pFileDlg, std::vector< OUString > &_rpURLList)
 
 IMPL_LINK_NOARG (DocumentInserter, DialogClosedHdl, sfx2::FileDialogHelper *, void)
 
bool isValidNCName (OUString const &i_rIdref)
 
static bool isContentFile (OUString const &i_rPath)
 
static bool isStylesFile (OUString const &i_rPath)
 
bool isValidXmlId (OUString const &i_rStreamName, OUString const &i_rIdref)
 
static bool isReservedFile (OUString const &i_rPath)
 
uno::Reference< rdf::XURI > createBaseURI (uno::Reference< uno::XComponentContext > const &i_xContext, uno::Reference< frame::XModel > const &i_xModel, OUString const &i_rPkgURI, OUString const &i_rSubDocument)
 
static uno::Reference< rdf::XURI > const & getURI (uno::Reference< uno::XComponentContext > const &i_xContext)
 
static bool isFileNameValid (const OUString &i_rFileName)
 
static bool splitPath (OUString const &i_rPath, OUString &o_rDir, OUString &o_rRest)
 
static bool splitXmlId (OUString const &i_XmlId, OUString &o_StreamName, OUString &o_Idref)
 
static uno::Reference< rdf::XURI > getURIForStream (struct DocumentMetadataAccess_Impl const &i_rImpl, OUString const &i_rPath)
 
static void addFile (struct DocumentMetadataAccess_Impl const &i_rImpl, uno::Reference< rdf::XURI > const &i_xType, OUString const &i_rPath, const uno::Sequence< uno::Reference< rdf::XURI > > *i_pTypes)
 
static bool addContentOrStylesFileImpl (struct DocumentMetadataAccess_Impl const &i_rImpl, const OUString &i_rPath)
 
static void addMetadataFileImpl (struct DocumentMetadataAccess_Impl const &i_rImpl, const OUString &i_rPath, const uno::Sequence< uno::Reference< rdf::XURI > > &i_rTypes)
 
static void removeFile (struct DocumentMetadataAccess_Impl const &i_rImpl, uno::Reference< rdf::XURI > const &i_xPart)
 
static::std::vector< uno::Reference< rdf::XURI > > getAllParts (struct DocumentMetadataAccess_Impl const &i_rImpl)
 
static bool isPartOfType (struct DocumentMetadataAccess_Impl const &i_rImpl, uno::Reference< rdf::XURI > const &i_xPart, uno::Reference< rdf::XURI > const &i_xType)
 
static::std::vector< uno::Reference< rdf::XURI > > getAllParts (struct DocumentMetadataAccess_Impl const &i_rImpl, const uno::Reference< rdf::XURI > &i_xType)
 
static ucb::InteractiveAugmentedIOException mkException (OUString const &i_rMessage, ucb::IOErrorCode const i_ErrorCode, OUString const &i_rUri, OUString const &i_rResource)
 
static bool handleError (ucb::InteractiveAugmentedIOException const &i_rException, const uno::Reference< task::XInteractionHandler > &i_xHandler)
 
static void collectFilesFromStorage (uno::Reference< embed::XStorage > const &i_xStorage, std::set< OUString > &o_rFiles)
 
static void readStream (struct DocumentMetadataAccess_Impl &i_rImpl, uno::Reference< embed::XStorage > const &i_xStorage, OUString const &i_rPath, OUString const &i_rBaseURI)
 
static void importFile (struct DocumentMetadataAccess_Impl &i_rImpl, uno::Reference< embed::XStorage > const &i_xStorage, OUString const &i_rBaseURI, uno::Reference< task::XInteractionHandler > const &i_xHandler, const OUString &i_rPath)
 
static void exportStream (struct DocumentMetadataAccess_Impl const &i_rImpl, uno::Reference< embed::XStorage > const &i_xStorage, uno::Reference< rdf::XURI > const &i_xGraphName, OUString const &i_rFileName, OUString const &i_rBaseURI)
 
static void writeStream (struct DocumentMetadataAccess_Impl &i_rImpl, uno::Reference< embed::XStorage > const &i_xStorage, uno::Reference< rdf::XURI > const &i_xGraphName, OUString const &i_rPath, OUString const &i_rBaseURI)
 
static void initLoading (struct DocumentMetadataAccess_Impl &i_rImpl, const uno::Reference< embed::XStorage > &i_xStorage, const uno::Reference< rdf::XURI > &i_xBaseURI, const uno::Reference< task::XInteractionHandler > &i_xHandler)
 
static void init (struct DocumentMetadataAccess_Impl &i_rImpl)
 
::sfx2::IXmlIdRegistrycreateXmlIdRegistry (const bool i_DocIsClipboard)
 
static OUString create_id (const std::unordered_map< OUString, T > &i_rXmlIdMap)
 
static void rmIter (XmlIdMap_t &i_rXmlIdMap, XmlIdMap_t::iterator const &i_rIter, OUString const &i_rStream, Metadatable const &i_rObject)
 
static void removeLink (Metadatable *i_pObject)
 
static void rmIter (ClipboardXmlIdMap_t &i_rXmlIdMap, ClipboardXmlIdMap_t::iterator const &i_rIter, OUString const &i_rStream, Metadatable const &i_rObject)
 
static const ::sfx2::IXmlIdRegistryGetRegistryConst (Metadatable const &i_rObject)
 
Reference< XSingleServiceFactory > createSfxModelFactory (const Reference< XMultiServiceFactory > &_rxServiceFactory, const OUString &_rImplementationName, const SfxModelFactoryFunc _pComponentFactoryFunc, const Sequence< OUString > &_rServiceNames)
 
void openUriExternally (const OUString &sURI, bool bHandleSystemShellExecuteException)
 
 IMPL_LINK (ClassificationCategoriesController, SelectHdl, ListBox &, rCategory, void)
 
void closedialogs (SystemWindow &rTopLevel, bool bCloseRoot)
 
ErrCode SFX2_DLLPUBLIC LoadOlePropertySet (const css::uno::Reference< css::document::XDocumentProperties > &i_xDocProps, SotStorage *i_pStorage)
 
bool SFX2_DLLPUBLIC SaveOlePropertySet (const css::uno::Reference< css::document::XDocumentProperties > &i_xDocProps, SotStorage *i_pStorage, const css::uno::Sequence< sal_Int8 > *i_pThumb=nullptr, const css::uno::Sequence< sal_Int8 > *i_pGuid=nullptr, const css::uno::Sequence< sal_Int8 > *i_pHyperlinks=nullptr)
 
css::uno::Reference< css::rdf::XURI > SFX2_DLLPUBLIC createBaseURI (css::uno::Reference< css::uno::XComponentContext > const &i_xContext, css::uno::Reference< css::frame::XModel > const &i_xModel, OUString const &i_rPkgURI, OUString const &i_rSubDocument=OUString())
 
css::uno::Reference< css::lang::XSingleServiceFactory > SFX2_DLLPUBLIC createSfxModelFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &_rxServiceFactory, const OUString &_rImplementationName, const SfxModelFactoryFunc _pComponentFactoryFunc, const css::uno::Sequence< OUString > &_rServiceNames)
 

Variables

 OPEN
 
 SAVE
 
 UNDEFINED
 
static std::map< ApplicationType, OUString > BitmapForExtension
 
static std::map< ApplicationType, OUString > EncryptedBitmapForExtension
 
static constexpr long gnTextHeight
 
static constexpr long gnItemPadding
 
static const char s_content []
 
static const char s_styles []
 
static const char s_manifest []
 
static const char s_odfmime []
 
static const char s_content []
 
static const char s_styles []
 
const sal_Unicode cTokenSeparator