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

Namespaces

namespace  Automation
 
namespace  date
 
namespace  detail
 
namespace  DocumentInfo
 
namespace  internal
 
namespace  LibreOfficeKit
 
namespace  log
 
namespace  OFOPXMLHelper
 
namespace  rng
 
namespace  string
 
namespace  xml
 
namespace  xmlsec
 

Classes

class  AccessibleEventNotifier
 
class  AnyEvent
 the very basic instance to hold a description of an event More...
 
class  AsyncEvent
 
class  AsyncEventNotifier
 This class is usable with rtl::Reference. More...
 
class  AsyncEventNotifierAutoJoin
 This is a hack (when proper joining is not possible), use of which should be avoided by good design. More...
 
class  AsyncEventNotifierBase
 a helper class for notifying events asynchronously More...
 
class  AttributeList
 
class  BackupFileHelper
 Helper class to backup/restore a single file. More...
 
class  Base64
 
class  ChainablePropertySet
 
class  ChainablePropertySetInfo
 
class  ChainablePropertySetInfo_Base
 
class  ComponentBase
 
class  ComponentGuard
 
class  ComponentMethodGuard
 
class  ConfigurationChanges
 A batch of configuration changes that is committed as a whole. More...
 
struct  ConfigurationGroup
 A type-safe wrapper around a configuration group. More...
 
class  ConfigurationHelper
 
class  ConfigurationListener
 
class  ConfigurationListener_Base
 
class  ConfigurationListenerProperty
 Access to this class must be protected by the SolarMutex. More...
 
class  ConfigurationListenerPropertyBase
 
struct  ConfigurationLocalizedProperty
 A type-safe wrapper around a localized configuration property. More...
 
struct  ConfigurationProperty
 A type-safe wrapper around a (non-localized) configuration property. More...
 
struct  ConfigurationSet
 A type-safe wrapper around a configuration set. More...
 
class  DirectoryHelper
 
class  DocPasswordHelper
 Helper that asks for a document password and checks its validity. More...
 
class  DocPasswordRequest
 Implements the task.XInteractionRequest interface for requesting a password string for a document. More...
 
class  EmbeddedObjectContainer
 
struct  EmbedImpl
 
class  EnumPredicateLess
 
class  EventHolder
 AnyEvent derivee holding a foreign event instance. More...
 
class  EventLogger
 encapsulates a css::logging::XLogger More...
 
class  EventLogger_Impl
 
struct  EventNotifierImpl
 
struct  FallbackToGetSomethingOf
 
struct  FallbackToGetSomethingOf< void >
 
class  FlagGuard
 
class  GraphicMimeTypeHelper
 
class  Hash
 
struct  HashImpl
 
class  IDocPasswordVerifier
 Base class for a password verifier used by the DocPasswordHelper class below. More...
 
class  IEmbeddedHelper
 Helper interface to give access to some common object which replace the SfxObjectShell. More...
 
class  IEventProcessor
 an event processor More...
 
class  IKeyPredicateLess
 
class  IndexAccessIterator
 an iterator that iterates through all elements, starting from an XIndexAccess (pre-order) More...
 
class  IndexedPropertyValuesContainer
 
class  InterfacePredicateLess
 
class  IPropertyInfoService
 used as callback for an OPropertyArrayAggregationHelper More...
 
struct  LessPredicateAdapter
 
class  LifecycleProxy
 
class  MasterPropertySet
 
class  MasterPropertySetInfo
 
class  MasterPropertySetInfo_Base
 
class  mem_fun1_t
 
class  MemoryInputStream
 Base class for wrappers around memory data that want to be exposed as an XInputStream. More...
 
class  MimeConfigurationHelper
 
class  NamedEvent
 
class  NamedValueCollection
 a collection of named values, packed in various formats. More...
 
class  NumberedCollection
 defines a collection of UNO components, where every component will get its own unique number. More...
 
class  OAccessibleComponentHelper
 a helper class for implementing an AccessibleContext which at the same time supports an XAccessibleComponent interface. More...
 
class  OAccessibleContextWrapper
 
class  OAccessibleContextWrapperHelper
 Helper for wrapping an XAccessibleContext by aggregating a proxy for it. More...
 
class  OAccessibleExtendedComponentHelper
 a helper class for implementing an AccessibleContext which at the same time supports an XAccessibleExtendedComponent interface. More...
 
class  OAccessibleKeyBindingHelper
 a helper class for implementing an accessible keybinding More...
 
class  OAccessibleTextHelper
 a helper class for implementing an AccessibleExtendedComponent which at the same time supports an XAccessibleText interface More...
 
class  OAccessibleWrapper
 a class which aggregates a proxy for an XAccessible, and wrapping the context returned by this XAccessible. More...
 
struct  OAccessibleWrapper_Base
 
class  OAggregationArrayUsageHelper
 an OPropertyArrayUsageHelper which will create an OPropertyArrayAggregationHelper More...
 
class  OAnyEnumeration
 provides a com.sun.star.container::XEnumeration for an outside set vector of Any's. More...
 
class  OAnyEnumeration_BASE
 
class  OCommonAccessibleComponent
 base class encapsulating common functionality for the helper classes implementing the XAccessibleComponent respectively XAccessibleExtendendComponent More...
 
class  OCommonAccessibleSelection
 base class encapsulating common functionality for the helper classes implementing the XAccessibleSelection More...
 
class  OCommonAccessibleText
 base class encapsulating common functionality for the helper classes implementing the XAccessibleText More...
 
class  OComponentProxyAggregation
 
class  OComponentProxyAggregationHelper
 a helper class for aggregating a proxy to an XComponent More...
 
class  OContainerListener
 a non-UNO container listener More...
 
class  OContainerListenerAdapter
 
class  OContainerListenerAdapter_Base
 
class  OContextEntryGuard
 helper class for guarding the entry into OCommonAccessibleComponent methods. More...
 
class  OEnumerationByIndex
 provides a com.sun.star.container::XEnumeration access based on an object implementing the com.sun.star.container::XNameAccess interface More...
 
class  OEnumerationByName
 provides a com.sun.star.container::XEnumeration access based on an object implementing the com.sun.star.container::XNameAccess interface More...
 
class  OExternalLockGuard
 
class  OfficeInstallationDirectories
 
class  OIdPropertyArrayUsageHelper
 
class  OInteraction
 template for instantiating concrete interaction handlersthe template argument must be an interface derived from XInteractionContinuation More...
 
class  OInteractionRequest
 implements an interaction request (com.sun.star.task::XInteractionRequest)at run time, you can freely add any interaction continuation objects More...
 
class  OInterfaceContainerHelper2
 A container of interfaces. More...
 
class  OInterfaceContainerHelper3
 A container of interfaces. More...
 
class  OInterfaceContainerHelper4
 A container of interfaces. More...
 
class  OInterfaceIteratorHelper2
 This is the iterator of an OInterfaceContainerHelper2. More...
 
class  OInterfaceIteratorHelper3
 This is the iterator of an OInterfaceContainerHelper3. More...
 
class  OInterfaceIteratorHelper4
 This is the iterator of an OInterfaceContainerHelper4. More...
 
class  OMultiTypeInterfaceContainerHelper2
 This is a copy of cppu::OMultiTypeInterfaceContainerHelper2 in include/cppuhelper/interfacecontainer.h, except that it uses comphelper::OInterfaceContainerHelper2, which is more efficient. More...
 
class  OMultiTypeInterfaceContainerHelperVar3
 A helper class to store interface references of different types. More...
 
class  OMultiTypeInterfaceContainerHelperVar4
 A helper class to store interface references of different types. More...
 
class  OMutexAndBroadcastHelper
 
class  OOfficeRestartManager
 
class  OPropertyArrayAggregationHelper
 
class  OPropertyArrayUsageHelper
 
class  OPropertyBag
 
class  OPropertyChangeListener
 simple listener adapter for property sets More...
 
class  OPropertyChangeListener2
 simple listener adapter for property sets More...
 
class  OPropertyChangeMultiplexer
 
class  OPropertyChangeMultiplexer2
 
class  OPropertyChangeMultiplexer_Base
 multiplexer for property changes More...
 
class  OPropertyChangeMultiplexer_Base2
 multiplexer for property changes More...
 
class  OPropertyContainer
 an OPropertySetHelper implementation which is just a simple container for properties represented by class members, usually in a derived class. More...
 
class  OPropertyContainerHelper
 helper class for managing property values, and implementing most of the X*Property* interfaces More...
 
class  OPropertySetHelper
 This abstract class maps the methods of the interfaces XMultiPropertySet, XFastPropertySet and XPropertySet to the methods getInfoHelper, convertFastPropertyValue, setFastPropertyValue_NoBroadcast and getFastPropertyValue. More...
 
class  OPropertyStateContainer
 helper implementation for components which have properties with a default More...
 
class  OProxyAggregation
 helper class for aggregating a proxy for a foreign object More...
 
class  ORelease
 opposite of OGuard :) (a mutex is released within the constructor and acquired within the destructor) use only when you're sure the mutex is acquired ! More...
 
class  OSeekableInputWrapper
 
class  OSeekableInputWrapper_BASE
 
class  OSelectionChangeListener
 simple listener adapter for selections More...
 
class  OSelectionChangeMultiplexer
 multiplexer for selection changes More...
 
class  OSequenceOutputStream_Base
 
class  OSLInputStreamWrapper
 
class  OSLOutputStreamWrapper
 
class  OStorageHelper
 
struct  OUStringAndHashCode
 Implements a stl hash map on top of some specialized sequence from type PropertyValue or NamedValue. More...
 
struct  OUStringAndHashCodeEqual
 
struct  OUStringAndHashCodeHash
 
class  OUStringBufferAppender
 output iterator that appends OUStrings into an OUStringBuffer. More...
 
class  OWeakListenerAdapter
 yet another base for weak listener adapters, this time with some type safety More...
 
class  OWeakListenerAdapterBase
 (the base for) an adapter which allows to add as listener to a foreign component, without being held hard. More...
 
class  PasswordContinuation
 
class  ProfileZone
 
struct  PropertyCompareByName
 
struct  PropertyData
 
struct  PropertyDescription
 
struct  PropertyInfo
 
struct  PropertyMapEntry
 
class  PropertySetHelper
 
class  PropertySetInfo
 this class implements a XPropertySetInfo that is initialized with arrays of PropertyMapEntry. More...
 
class  PropertySetInfo_BASE
 
class  RefCountedMutex
 
class  ScalarPredicateLess
 
class  ScopeGuard
 ScopeGuard to ease writing exception-safe code. More...
 
class  SequenceAsHashMap
 
class  SequenceInputStream
 
class  SetFlagContext
 
class  SharedMutex
 
class  SharedMutexBase
 sometimes, it's necessary to have an initialized ::osl::Mutex to pass to some ctor call of your base class. More...
 
class  SimpleFileAccessInteraction
 An interaction handler wrapper for simple file access. More...
 
class  SimplePasswordRequest
 
class  SingletonRef
 Template for implementing singleton classes. More...
 
struct  SlaveData
 
class  SolarMutex
 SolarMutex, needed for VCL's Application::GetSolarMutex(). More...
 
class  StringCollationPredicateLess
 
class  StringPredicateLess
 
class  SynchronousDispatch
 a helper class for working with the dispatch interface replacing loadComponentFromURL More...
 
class  ThreadPool
 A very basic thread-safe thread pool implementation. More...
 
class  ThreadTask
 
class  ThreadTaskTag
 
class  TraceEvent
 
class  TypePredicateLess
 
class  unique_disposing_ptr
 
class  unique_disposing_solar_mutex_reset_ptr
 
struct  UniquePtrValueLess
 by-value less functor for std::set<std::unique_ptr<T>> More...
 
class  UnoIdInit
 
class  UnoImplBase
 This class is meant to be used as a base class for UNO object implementations that want to use std::mutex for locking. More...
 
class  UnoInterfaceToUniqueIdentifierMapper
 
struct  UnoTypeLess
 
class  UStringMixEqual
 
struct  UStringMixLess
 
class  ValueRestorationGuard
 
struct  ValueRestorationGuard_Impl
 
class  WeakBag
 A bag of UNO weak references. More...
 
class  WeakComponentImplHelper
 
class  WeakComponentImplHelperBase
 Serves two purposes (1) extracts code that doesn't need to be templated (2) helps to handle the custom where we have conflicting interfaces e.g. More...
 

Typedefs

typedef ::std::map< OUString, css::uno::Reference< css::uno::XInterface > > IdMap_t
 
typedef std::unordered_map< OUString, uno::Reference< embed::XEmbeddedObject > > EmbeddedObjectContainerNameMap
 
typedef std::map< Any, Any, LessPredicateAdapterKeyedValues
 
typedef ::cppu::WeakAggComponentImplHelper3< XInitialization, XEnumerableMap, XServiceInfo > Map_IFace
 
typedef ::cppu::WeakImplHelper< XEnumeration > MapEnumeration_Base
 
typedef std::shared_ptr< osl::File > FileSharedPtr
 
typedef cppu::WeakImplHelper< css::util::XOfficeInstallationDirectories, css::lang::XServiceInfo > OfficeInstallationDirectories_Base
 
typedef std::map< sal_Int32, css::uno::Any > MapInt2Any
 
typedef std::set< css::uno::Type, UnoTypeLessTypeBag
 
typedef ::cppu::WeakImplHelper< css::beans::XPropertyBag, css::util::XModifiable, css::lang::XServiceInfo, css::lang::XInitialization, css::container::XSet > OPropertyBag_Base
 
typedef ::comphelper::OPropertyStateHelper OPropertyBag_PBase
 
typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessibleContext2, css::accessibility::XAccessibleEventBroadcaster > OCommonAccessibleComponent_Base
 
typedef ::cppu::WeakImplHelper< css::accessibility::XAccessibleKeyBinding > OAccessibleKeyBindingHelper_Base
 
typedef ::cppu::ImplHelper1< css::accessibility::XAccessibleEventListener > OAccessibleContextWrapperHelper_Base
 
typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessibleEventBroadcaster, css::accessibility::XAccessibleContext > OAccessibleContextWrapper_CBase
 
typedef ::std::map< css::uno::Reference< css::accessibility::XAccessible >, rtl::Reference< comphelper::OAccessibleWrapper > > AccessibleMap
 
typedef ::cppu::WeakImplHelper< css::lang::XEventListener > OWrappedAccessibleChildrenManager_Base
 
typedef ::rtl::Reference< AnyEventAnyEventRef
 
typedef cppu::WeakImplHelper< css::beans::XPropertySet, css::beans::XMultiPropertySet, css::lang::XServiceInfo > ChainablePropertySetBase
 
typedef ValueRestorationGuard< bool > FlagRestorationGuard
 
typedef ORelease< ::osl::Mutex > MutexRelease
 
typedef std::unordered_map< sal_Int32, ::cppu::IPropertyArrayHelper * > OIdPropertyArrayMap
 
typedef std::vector< css::uno::Sequence< css::beans::PropertyValue > > IndexedPropertyValues
 
typedef OInteraction< css::task::XInteractionApprove > OInteractionApprove
 
typedef OInteraction< css::task::XInteractionDisapprove > OInteractionDisapprove
 
typedef OInteraction< css::task::XInteractionAbort > OInteractionAbort
 
typedef OInteraction< css::task::XInteractionRetry > OInteractionRetry
 
typedef ::cppu::WeakImplHelper< css::task::XInteractionRequest > OInteractionRequest_Base
 
typedef ::std::optional< OUString > OptionalString
 
typedef std::unordered_map< OUString, PropertyMapEntry const * > PropertyMap
 
typedef ::cppu::ImplHelper1< css::beans::XPropertyState > OPropertyStateContainer_TBase
 
using SequenceAsHashMapBase = std::unordered_map< OUStringAndHashCode, css::uno::Any, OUStringAndHashCodeHash, OUStringAndHashCodeEqual >
 
typedef OWeakListenerAdapter< css::lang::XComponent, css::lang::XEventListener > OWeakEventListenerAdapter_Base
 

Enumerations

enum class  EConfigurationModes {
  Standard = 0 ,
  ReadOnly = 1 ,
  AllLocales = 2
}
 specify all possible modes, which can be used to open a configuration access. More...
 
enum class  DocPasswordVerifierResult {
  OK ,
  WrongPassword ,
  Abort
}
 
enum class  DocPasswordRequestType {
  Standard ,
  MS
}
 Selects which UNO document password request type to use. More...
 
enum class  HashType {
  MD5 ,
  SHA1 ,
  SHA256 ,
  SHA512
}
 

Functions

static void lcl_registerMapModificationListener (MapData &_mapData, MapEnumerator &_listener)
 
static void lcl_revokeMapModificationListener (MapData &_mapData, MapEnumerator &_listener)
 
static void lcl_notifyMapDataListeners_nothrow (const MapData &_mapData)
 
Reference< XEventAttacherManager > createEventAttacherManager (const Reference< XComponentContext > &rxContext)
 
OUString GetkeyBindingStrByXkeyBinding (const Sequence< KeyStroke > &keySet)
 
std::unique_ptr< IKeyPredicateLessgetStandardLessPredicate (Type const &i_type, Reference< XCollator > const &i_collator)
 
bool anyLess (css::uno::Any const &lhs, css::uno::Any const &rhs)
 Compare two Anys. More...
 
std::optional< size_t > anyToHash (uno::Any const &value)
 
OUString anyToString (uno::Any const &value)
 
void JoinAsyncEventNotifiers ()
 
template<typename C >
static void ThreeByteToFourByte (const sal_Int8 *pBuffer, const sal_Int32 nStart, const sal_Int32 nFullLen, C *aCharBuffer)
 
template<typename Buffer >
static void base64encode (Buffer &aStrBuffer, const uno::Sequence< sal_Int8 > &aPass)
 
static void checkInterface (css::uno::Type const &rType)
 
static bool isXInterface (rtl_uString *pStr)
 
static bool td_equals (typelib_TypeDescriptionReference const *pTDR1, typelib_TypeDescriptionReference const *pTDR2)
 
static cppu::type_entry * getTypeEntries (cppu::class_data *cd)
 
static void * makeInterface (sal_IntPtr nOffset, void *that)
 
static bool recursivelyFindType (typelib_TypeDescriptionReference const *demandedType, typelib_InterfaceTypeDescription const *type, sal_IntPtr *offset)
 
static void * queryDeepNoXInterface (typelib_TypeDescriptionReference const *pDemandedTDR, cppu::class_data *cd, void *that)
 
css::uno::Any WeakComponentImplHelper_query (css::uno::Type const &rType, cppu::class_data *cd, WeakComponentImplHelperBase *pBase)
 WeakComponentImplHelper. More...
 
bool isDebuggerAttached ()
 Returns true if the process is running with a debugger attached. More...
 
bool dispatchCommand (const OUString &rCommand, const uno::Reference< css::frame::XFrame > &rFrame, const css::uno::Sequence< css::beans::PropertyValue > &rArguments, const uno::Reference< css::frame::XDispatchResultListener > &rListener)
 
bool dispatchCommand (const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArguments, const uno::Reference< css::frame::XDispatchResultListener > &rListener)
 
static uno::Sequence< sal_Int8GeneratePBKDF2Hash (std::u16string_view aPassword, const uno::Sequence< sal_Int8 > &aSalt, sal_Int32 nCount, sal_Int32 nHashLength)
 
Sequence< OUString > getEventMethodsForType (const Type &type)
 
static auto GetMediaMimes () -> std::map< OString, OString > const &
 
auto IsMediaMimeType (::std::string_view const rMimeType) -> bool
 
auto IsMediaMimeType (OUString const &rMimeType) -> bool
 
auto GuessMediaMimeType (::std::u16string_view rFileName) -> OUString
 
sal_Int16 getNumberFormatType (const css::uno::Reference< css::util::XNumberFormats > &xFormats, sal_Int32 nKey)
 returns the css::util::NumberFormat of the given key under the given formats More...
 
sal_Int16 getNumberFormatType (const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, sal_Int32 nKey)
 returns the css::util::NumberFormat of the given key under the given formatter More...
 
css::uno::Any getNumberFormatDecimals (const css::uno::Reference< css::util::XNumberFormats > &xFormats, sal_Int32 nKey)
 returns the decimals of the given numeric number formatunder the given formats More...
 
Any getNumberFormatProperty (const Reference< XNumberFormatter > &_rxFormatter, sal_Int32 _nKey, const OUString &_rPropertyName)
 
std::vector< css::beans::PropertyValue > JsonToPropertyValues (const OString &rJson)
 
static void splitPath (std::vector< OUString > &rElems, std::u16string_view rPath)
 
static uno::Reference< embed::XStorage > LookupStorageAtPath (const uno::Reference< embed::XStorage > &xParentStorage, std::vector< OUString > &rElems, sal_uInt32 nOpenMode, LifecycleProxy const &rNastiness)
 
sal_Int64 getINT64 (const Any &_rAny)
 
sal_Int32 getINT32 (const Any &_rAny)
 
sal_Int16 getINT16 (const Any &_rAny)
 
double getDouble (const Any &_rAny)
 
float getFloat (const Any &_rAny)
 
OUString getString (const Any &_rAny)
 
bool getBOOL (const Any &_rAny)
 
sal_Int32 getEnumAsINT32 (const Any &_rAny)
 
FontDescriptor getDefaultFont ()
 get a css::awt::FontDescriptor that is fully initialized with the XXX_DONTKNOW enum values (which isn't the case if you instantiate it via the default constructor) More...
 
bool isAssignableFrom (const Type &_rAssignable, const Type &_rFrom)
 
Type getSequenceElementType (const Type &_rSequenceType)
 
constexpr OUStringLiteral g_aOfficeBrandDirMacro (u"$(brandbaseurl)")
 
constexpr OUStringLiteral g_aUserDirMacro (u"$(userdataurl)")
 
void setProcessServiceFactory (const Reference< XMultiServiceFactory > &xSMgr)
 
Reference< XMultiServiceFactory > getProcessServiceFactory ()
 This function gets the process service factory. More...
 
Reference< XComponentContext > getComponentContext (Reference< XMultiServiceFactory > const &factory)
 
Reference< XComponentContext > getProcessComponentContext ()
 This function gets the process service factory's default component context. More...
 
void copyProperties (const Reference< XPropertySet > &_rxSource, const Reference< XPropertySet > &_rxDest)
 
bool hasProperty (const OUString &_rName, const Reference< XPropertySet > &_rxSet)
 
void RemoveProperty (Sequence< Property > &_rProps, const OUString &_rPropName)
 
void ModifyPropertyAttributes (Sequence< Property > &seqProps, const OUString &sPropName, sal_Int16 nAddAttrib, sal_Int16 nRemoveAttrib)
 
bool tryPropertyValue (Any &_rConvertedValue, Any &_rOldValue, const Any &_rValueToSet, const Any &_rCurrentValue, const Type &_rExpectedType)
 
static int compare_OUString_Property_Impl (const void *arg1, const void *arg2) SAL_THROW_EXTERN_C()
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, const css::awt::FontDescriptor &_rFont)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, css::awt::FontDescriptor &_rFont)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, bool &_rVal)
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, bool _bVal)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, OUString &rStr)
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, const OUString &rStr)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, sal_Int16 &_rValue)
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, sal_Int16 _nValue)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, sal_uInt16 &_rValue)
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, sal_uInt16 _nValue)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, sal_uInt32 &_rValue)
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, sal_uInt32 _nValue)
 
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, sal_Int32 &_rValue)
 
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, sal_Int32 _nValue)
 
static void copyInputToOutput_Impl (const uno::Reference< io::XInputStream > &xIn, const uno::Reference< io::XOutputStream > &xOut)
 
constexpr OUStringLiteral g_aRelListElement (u"Relationships")
 
constexpr OUStringLiteral g_aRelElement (u"Relationship")
 
constexpr OUStringLiteral g_aIDAttr (u"Id")
 
constexpr OUStringLiteral g_aTypeAttr (u"Type")
 
constexpr OUStringLiteral g_aTargetModeAttr (u"TargetMode")
 
constexpr OUStringLiteral g_aTargetAttr (u"Target")
 
constexpr OUStringLiteral g_aTypesElement (u"Types")
 
constexpr OUStringLiteral g_aDefaultElement (u"Default")
 
constexpr OUStringLiteral g_aOverrideElement (u"Override")
 
constexpr OUStringLiteral g_aExtensionAttr (u"Extension")
 
constexpr OUStringLiteral g_aPartNameAttr (u"PartName")
 
constexpr OUStringLiteral g_aContentTypeAttr (u"ContentType")
 
COMPHELPER_DLLPUBLIC OUString GetkeyBindingStrByXkeyBinding (const css::uno::Sequence< css::awt::KeyStroke > &keySet)
 Helper function used for converting keybinding to string. More...
 
::std::unique_ptr< IKeyPredicateLess > COMPHELPER_DLLPUBLIC getStandardLessPredicate (css::uno::Type const &i_type, css::uno::Reference< css::i18n::XCollator > const &i_collator)
 creates a default IKeyPredicateLess instance for the given UNO type More...
 
COMPHELPER_DLLPUBLIC std::optional< size_t > anyToHash (css::uno::Any const &value)
 Tries to get a hash value for an ANY value. More...
 
COMPHELPER_DLLPUBLIC OUString anyToString (css::uno::Any const &value)
 Creates a STRING representation out of an ANY value. More...
 
void operator<< (css::uno::Reference< css::io::XObjectOutputStream > const &, sal_Bool)=delete
 
template<class ELEMENT >
const css::uno::Reference< css::io::XObjectInputStream > & operator>> (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream, css::uno::Sequence< ELEMENT > &_rSeq)
 
template<class ELEMENT >
const css::uno::Reference< css::io::XObjectOutputStream > & operator<< (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream, const css::uno::Sequence< ELEMENT > &_rSeq)
 
class COMPHELPER_DLLPUBLIC SAL_LOPLUGIN_ANNOTATE ("crosscast") ByteReader
 Interface that we can cast to, to bypass the inefficiency of using Sequence<sal_Int8> when reading via XInputStream. More...
 
COMPHELPER_DLLPUBLIC bool dispatchCommand (const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArguments, const css::uno::Reference< css::frame::XDispatchResultListener > &rListener=css::uno::Reference< css::frame::XDispatchResultListener >())
 Dispatch the given UNO command in the active frame. More...
 
COMPHELPER_DLLPUBLIC bool dispatchCommand (const OUString &rCommand, const css::uno::Reference< css::frame::XFrame > &rFrame, const css::uno::Sequence< css::beans::PropertyValue > &rArguments, const css::uno::Reference< css::frame::XDispatchResultListener > &rListener=css::uno::Reference< css::frame::XDispatchResultListener >())
 
template<typename Type , typename Function = std::function<Type*()>, typename Guard = osl::MutexGuard, typename GuardCtor = osl::GetGlobalMutex>
static TypedoubleCheckedInit (std::atomic< Type * > &pointer, Function function, GuardCtor guardCtor=osl::GetGlobalMutex())
 Thread-safe singleton creation. More...
 
COMPHELPER_DLLPUBLIC css::uno::Reference< css::script::XEventAttacherManager > createEventAttacherManager (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
COMPHELPER_DLLPUBLIC css::uno::Sequence< OUString > getEventMethodsForType (const css::uno::Type &type)
 
COMPHELPER_DLLPUBLIC bool isFileUrl (std::u16string_view url)
 
COMPHELPER_DLLPUBLIC css::uno::Reference< css::beans::XPropertySetGenericPropertySet_CreateInstance (PropertySetInfo *pInfo)
 
COMPHELPER_DLLPUBLIC OUString getExpandedUri (css::uno::Reference< css::uno::XComponentContext > const &context, OUString const &uri)
 A helper function to expand vnd.sun.star.expand URLs. More...
 
template<typename T >
std::shared_ptr< T > make_shared_from_UNO (T *p)
 Makes a std::shared_ptr from a ref-counted UNO object pointer. More...
 
COMPHELPER_DLLPUBLIC css::uno::Reference< css::container::XNameContainer > NameContainer_createInstance (const css::uno::Type &aType)
 
template<typename T >
T * newArray_null (size_t const n) noexcept
 
COMPHELPER_DLLPUBLIC css::uno::Any getNumberFormatProperty (const css::uno::Reference< css::util::XNumberFormatter > &_rxFormatter, sal_Int32 _nKey, const OUString &_rPropertyName)
 retrieves the value of a given property for a given format key, relating to a given formatter More...
 
static comphelper::ThreadPoolrTPool (comphelper::ThreadPool::getSharedOptimalPool())
 
template<class RandItr , class Compare = std::less<>>
void parallelSort (const RandItr aBegin, const RandItr aEnd, Compare aComp=Compare())
 
COMPHELPER_DLLPUBLIC void setProcessServiceFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &xSMgr)
 This function set the process service factory. More...
 
COMPHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > getComponentContext (css::uno::Reference< css::lang::XMultiServiceFactory > const &factory)
 Obtains a component context from a service factory. More...
 
COMPHELPER_DLLPUBLIC void RemoveProperty (css::uno::Sequence< css::beans::Property > &seqProps, const OUString &_rPropName)
 remove the property with the given name from the given sequence More...
 
COMPHELPER_DLLPUBLIC void ModifyPropertyAttributes (css::uno::Sequence< css::beans::Property > &_rProps, const OUString &_sPropName, sal_Int16 _nAddAttrib, sal_Int16 _nRemoveAttrib)
 within the given property sequence, modify attributes of a special property More...
 
COMPHELPER_DLLPUBLIC bool hasProperty (const OUString &_rName, const css::uno::Reference< css::beans::XPropertySet > &_rxSet)
 check if the given set has the given property. More...
 
COMPHELPER_DLLPUBLIC void copyProperties (const css::uno::Reference< css::beans::XPropertySet > &_rxSource, const css::uno::Reference< css::beans::XPropertySet > &_rxDest)
 copy properties between property sets, in compliance with the property attributes of the target object More...
 
template<typename T >
bool tryPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, const css::uno::Any &_rValueToSet, const T &_rCurrentValue)
 helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue More...
 
template<class ENUMTYPE >
std::enable_if< std::is_enum< ENUMTYPE >::value, bool >::type tryPropertyValueEnum (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, const css::uno::Any &_rValueToSet, const ENUMTYPE &_rCurrentValue)
 helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue for enum values More...
 
COMPHELPER_DLLPUBLIC bool tryPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, const css::uno::Any &_rValueToSet, const css::uno::Any &_rCurrentValue, const css::uno::Type &_rExpectedType)
 helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue More...
 
css::uno::Sequence< css::beans::PropertyValue > InitPropertySequence (::std::initializer_list< ::std::pair< OUString, css::uno::Any > > vInit)
 Init list for property sequences. More...
 
css::uno::Sequence< css::uno::Any > InitAnyPropertySequence (::std::initializer_list< ::std::pair< OUString, css::uno::Any > > vInit)
 Init list for property sequences that wrap the PropertyValues in Anys. More...
 
template<typename T , std::enable_if_t<!std::is_arithmetic_v< std::remove_reference_t< T > >, int > = 0>
css::beans::PropertyValue makePropertyValue (const OUString &rName, T &&rValue)
 Creates a beans::PropertyValue easily, i.e. More...
 
template<typename T , std::enable_if_t< std::is_arithmetic_v< T >, int > = 0>
css::beans::PropertyValue makePropertyValue (const OUString &rName, T aValue)
 
template<class T1 , class T2 >
sal_Int32 findValue (const css::uno::Sequence< T1 > &_rList, const T2 &_rValue)
 Search the given value within the given sequence, return the position of the first occurrence. More...
 
template<class T , class... Ss>
css::uno::Sequence< T > concatSequences (const css::uno::Sequence< T > &rS1, const Ss &... rSn)
 concat several sequences More...
 
template<typename T >
css::uno::Sequence< T > combineSequences (css::uno::Sequence< T > const &left, css::uno::Sequence< T > const &right)
 concat additional elements from right sequence to left sequence More...
 
template<class T >
void removeElementAt (css::uno::Sequence< T > &_rSeq, sal_Int32 _nPos)
 remove a specified element from a sequences More...
 
template<typename DstType , typename SrcType >
css::uno::Sequence< DstType > arrayToSequence (const SrcType *i_pArray, sal_Int32 nNum)
 Copy from a plain C/C++ array into a Sequence. More...
 
template<typename DstType , typename SrcType >
DstType * sequenceToArray (DstType *io_pArray, const css::uno::Sequence< SrcType > &i_Sequence)
 Copy from a Sequence into a plain C/C++ array. More...
 
template<typename DstElementType , typename SrcType >
css::uno::Sequence< DstElementType > containerToSequence (const SrcType &i_Container)
 Copy from a container into a Sequence. More...
 
template<typename SrcType >
css::uno::Sequence< typename SrcType::value_type > containerToSequence (const SrcType &i_Container)
 
template<typename ElementType , std::size_t SrcSize>
css::uno::Sequence< ElementTypecontainerToSequence (ElementType const (&i_Array)[SrcSize])
 
template<typename T >
css::uno::Sequence< T > containerToSequence (::std::vector< T > const &v)
 
template<typename DstType , typename SrcType >
DstType sequenceToContainer (const css::uno::Sequence< SrcType > &i_Sequence)
 Copy from a Sequence into a container. More...
 
template<typename DstType >
DstType sequenceToContainer (const css::uno::Sequence< typename DstType::value_type > &i_Sequence)
 
template<typename DstType , typename SrcType >
DstType & sequenceToContainer (DstType &o_Output, const css::uno::Sequence< SrcType > &i_Sequence)
 Copy from a Sequence into an existing container. More...
 
template<typename M >
css::uno::Sequence< typename M::key_type > mapKeysToSequence (M const &map)
 Copy (keys or values) from an associate container into a Sequence. More...
 
template<typename M >
css::uno::Sequence< typename M::mapped_type > mapValuesToSequence (M const &map)
 
sal_Int64 getSomething_cast (void *p)
 
template<class T >
T * getSomething_cast (sal_Int64 n)
 
template<class T >
T * getFromUnoTunnel (const css::uno::Reference< css::lang::XUnoTunnel > &xUT)
 
template<class T >
T * getFromUnoTunnel (const css::uno::Reference< css::uno::XInterface > &xIface)
 
template<typename T >
bool isUnoTunnelId (const css::uno::Sequence< sal_Int8 > &rId)
 
template<class T , class Base = void>
sal_Int64 getSomethingImpl (const css::uno::Sequence< sal_Int8 > &rId, T *pThis, FallbackToGetSomethingOf< Base >={})
 
css::uno::Reference< css::uno::XCurrentContext > NewFlagContext (const OUString &sName)
 
css::uno::Reference< css::uno::XCurrentContext > NoEnableJavaInteractionContext ()
 
bool IsContextFlagActive (const OUString &sName)
 
template<template< typename, typename... > class C, typename T , typename... Etc>
bool ContainerUniquePtrEquals (C< std::unique_ptr< T >, Etc... > const &lhs, C< std::unique_ptr< T >, Etc... > const &rhs)
 by-value implementation of std::foo<std::unique_ptr<T>>::operator== More...
 
template<class Tp , class Arg >
mem_fun1_t< Tp, Arg > mem_fun (void(Tp::*f)(Arg))
 
template<typename ForwardIter , typename OutputIter , typename T >
OutputIter intersperse (ForwardIter start, ForwardIter end, OutputIter out, T const &separator)
 algorithm similar to std::copy, but inserts a separator between elements. More...
 
class UNLESS_MERGELIBS (COMPHELPER_DLLPUBLIC) OStreamSection
 implements handling for compatibly reading/writing data from/into an input/output stream. More...
 
COMPHELPER_DLLPUBLIC bool isAssignableFrom (const css::uno::Type &_rAssignable, const css::uno::Type &_rFrom)
 returns sal_True if objects of the types given are "compatible" More...
 
template<class TYPE >
void disposeComponent (css::uno::Reference< TYPE > &_rxComp)
 ask the given object for an XComponent interface and dispose on it More...
 
COMPHELPER_DLLPUBLIC css::uno::Type getSequenceElementType (const css::uno::Type &_rSequenceType)
 examine a sequence for the com.sun.star.uno::Type of its elements. More...
 
COMPHELPER_DLLPUBLIC sal_Int64 getINT64 (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC sal_Int32 getINT32 (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC sal_Int16 getINT16 (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC double getDouble (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC float getFloat (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC OUString getString (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC bool getBOOL (const css::uno::Any &_rAny)
 
COMPHELPER_DLLPUBLIC sal_Int32 getEnumAsINT32 (const css::uno::Any &_rAny)
 
template<class iface >
bool query_aggregation (const css::uno::Reference< css::uno::XAggregation > &_rxAggregate, css::uno::Reference< iface > &_rxOut)
 ask for an iface of an aggregated object usage:
Reference<XFoo> xFoo;
if (query_aggregation(xAggregatedObject, xFoo))
... More...
 
template<typename... Args>
void unwrapArgs (const css::uno::Sequence< css::uno::Any > &seq, Args &... args)
 

Variables

static std::vector< std::weak_ptr< AsyncEventNotifierAutoJoin > > g_Notifiers
 
const char aBase64EncodeTable []
 
const sal_uInt8 aBase64DecodeTable []
 
constexpr OUStringLiteral ERRMSG_INVALID_COMPONENT_PARAM = u"NULL as component reference not allowed."
 
const sal_Int32 HANDLE_INTERACTIVEIOEXCEPTION = 0
 Will handle com::sun::star::ucb::InteractiveIOException and derived classes. More...
 
const sal_Int32 HANDLE_UNSUPPORTEDDATASINKEXCEPTION = 1
 Will handle com::sun::star::ucb::UnsupportedDataSinkException. More...
 
const sal_Int32 HANDLE_INTERACTIVENETWORKEXCEPTION = 2
 Will handle com::sun::star::ucb::InteractiveNetworkException. More...
 
const sal_Int32 HANDLE_CERTIFICATEREQUEST = 3
 Will handle com::sun::star::ucb::CertificateValidationRequest. More...
 
const sal_Int32 HANDLE_AUTHENTICATIONREQUEST = 4
 Will handle com::sun::star::ucb::AuthenticationRequest. More...
 
static thread_local bool gbIsWorkerThread
 prevent waiting for a task from inside a task More...
 
static thread_local int nProfileZoneNesting = 0
 
const sal_Int32 nConstBufferSize = 32000
 
const sal_uInt32 MD5_HASH_LENGTH = RTL_DIGEST_LENGTH_MD5
 
const sal_uInt32 SHA1_HASH_LENGTH = RTL_DIGEST_LENGTH_SHA1
 
const sal_uInt32 SHA256_HASH_LENGTH = 32
 
const sal_uInt32 SHA512_HASH_LENGTH = 64
 
const size_t nThreadCountGlobal = std::thread::hardware_concurrency()
 
const bool bHyperThreadingActive = cpuid::hasHyperThreading()
 
static thread_local std::mt19937 aGenerator { std::random_device{}() }
 

Typedef Documentation

◆ AccessibleMap

typedef ::std::map< css::uno::Reference< css::accessibility::XAccessible > , rtl::Reference< comphelper::OAccessibleWrapper > > comphelper::AccessibleMap

Definition at line 318 of file accessiblewrapper.hxx.

◆ AnyEventRef

Definition at line 55 of file asyncnotification.hxx.

◆ ChainablePropertySetBase

typedef cppu::WeakImplHelper< css::beans::XPropertySet, css::beans::XMultiPropertySet, css::lang::XServiceInfo > comphelper::ChainablePropertySetBase

Definition at line 66 of file ChainablePropertySet.hxx.

◆ EmbeddedObjectContainerNameMap

typedef std::unordered_map<OUString, uno::Reference<embed::XEmbeddedObject> > comphelper::EmbeddedObjectContainerNameMap

Definition at line 57 of file embeddedobjectcontainer.cxx.

◆ FileSharedPtr

typedef std::shared_ptr<osl::File> comphelper::FileSharedPtr

Definition at line 20 of file DirectoryHelper.cxx.

◆ FlagRestorationGuard

Definition at line 61 of file flagguard.hxx.

◆ IndexedPropertyValues

typedef std::vector<css::uno::Sequence<css::beans::PropertyValue> > comphelper::IndexedPropertyValues

Definition at line 22 of file indexedpropertyvalues.hxx.

◆ KeyedValues

Definition at line 85 of file enumerablemap.cxx.

◆ Map_IFace

typedef ::cppu::WeakAggComponentImplHelper3< XInitialization , XEnumerableMap , XServiceInfo > comphelper::Map_IFace

Definition at line 149 of file enumerablemap.cxx.

◆ MapEnumeration_Base

typedef ::cppu::WeakImplHelper< XEnumeration > comphelper::MapEnumeration_Base

Definition at line 263 of file enumerablemap.cxx.

◆ MapInt2Any

typedef std::map< sal_Int32, css::uno::Any > comphelper::MapInt2Any

Definition at line 55 of file opropertybag.hxx.

◆ MutexRelease

typedef ORelease< ::osl::Mutex > comphelper::MutexRelease

Definition at line 47 of file guarding.hxx.

◆ OAccessibleContextWrapper_CBase

typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessibleEventBroadcaster , css::accessibility::XAccessibleContext > comphelper::OAccessibleContextWrapper_CBase

Definition at line 241 of file accessiblewrapper.hxx.

◆ OAccessibleContextWrapperHelper_Base

typedef ::cppu::ImplHelper1< css::accessibility::XAccessibleEventListener > comphelper::OAccessibleContextWrapperHelper_Base

Definition at line 125 of file accessiblewrapper.hxx.

◆ OAccessibleKeyBindingHelper_Base

typedef ::cppu::WeakImplHelper< css::accessibility::XAccessibleKeyBinding > comphelper::OAccessibleKeyBindingHelper_Base

Definition at line 37 of file accessiblekeybindinghelper.hxx.

◆ OCommonAccessibleComponent_Base

typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessibleContext2, css::accessibility::XAccessibleEventBroadcaster > comphelper::OCommonAccessibleComponent_Base

Definition at line 43 of file accessiblecomponenthelper.hxx.

◆ OfficeInstallationDirectories_Base

typedef cppu::WeakImplHelper< css::util::XOfficeInstallationDirectories, css::lang::XServiceInfo > comphelper::OfficeInstallationDirectories_Base

Definition at line 38 of file officeinstallationdirectories.hxx.

◆ OIdPropertyArrayMap

typedef std::unordered_map< sal_Int32, ::cppu::IPropertyArrayHelper* > comphelper::OIdPropertyArrayMap

Definition at line 31 of file IdPropArrayHelper.hxx.

◆ OInteractionAbort

typedef OInteraction< css::task::XInteractionAbort > comphelper::OInteractionAbort

Definition at line 78 of file interaction.hxx.

◆ OInteractionApprove

typedef OInteraction< css::task::XInteractionApprove > comphelper::OInteractionApprove

Definition at line 68 of file interaction.hxx.

◆ OInteractionDisapprove

typedef OInteraction< css::task::XInteractionDisapprove > comphelper::OInteractionDisapprove

Definition at line 73 of file interaction.hxx.

◆ OInteractionRequest_Base

typedef ::cppu::WeakImplHelper< css::task::XInteractionRequest > comphelper::OInteractionRequest_Base

Definition at line 89 of file interaction.hxx.

◆ OInteractionRetry

typedef OInteraction< css::task::XInteractionRetry > comphelper::OInteractionRetry

Definition at line 83 of file interaction.hxx.

◆ OPropertyBag_Base

typedef ::cppu::WeakImplHelper< css::beans::XPropertyBag , css::util::XModifiable , css::lang::XServiceInfo , css::lang::XInitialization , css::container::XSet > comphelper::OPropertyBag_Base

Definition at line 63 of file opropertybag.hxx.

◆ OPropertyBag_PBase

typedef ::comphelper::OPropertyStateHelper comphelper::OPropertyBag_PBase

Definition at line 64 of file opropertybag.hxx.

◆ OPropertyStateContainer_TBase

typedef ::cppu::ImplHelper1< css::beans::XPropertyState > comphelper::OPropertyStateContainer_TBase

Definition at line 37 of file propertystatecontainer.hxx.

◆ OptionalString

typedef ::std::optional< OUString > comphelper::OptionalString

Definition at line 68 of file logging.hxx.

◆ OWeakEventListenerAdapter_Base

typedef OWeakListenerAdapter< css::lang::XComponent , css::lang::XEventListener > comphelper::OWeakEventListenerAdapter_Base

Definition at line 134 of file weakeventlistener.hxx.

◆ OWrappedAccessibleChildrenManager_Base

typedef ::cppu::WeakImplHelper< css::lang::XEventListener > comphelper::OWrappedAccessibleChildrenManager_Base

Definition at line 322 of file accessiblewrapper.hxx.

◆ PropertyMap

typedef std::unordered_map<OUString, PropertyMapEntry const *> comphelper::PropertyMap

Definition at line 78 of file propertysetinfo.hxx.

◆ SequenceAsHashMapBase

Definition at line 64 of file sequenceashashmap.hxx.

◆ TypeBag

typedef std::set< css::uno::Type, UnoTypeLess > comphelper::TypeBag

Definition at line 56 of file opropertybag.hxx.

Enumeration Type Documentation

◆ DocPasswordRequestType

Selects which UNO document password request type to use.

Enumerator
Standard 
MS 

Uses the standard com.sun.star.task.DocumentPasswordRequest request.

Uses the com.sun.star.task.DocumentMSPasswordRequest request.

Definition at line 37 of file docpasswordrequest.hxx.

◆ DocPasswordVerifierResult

Enumerator
OK 
WrongPassword 
Abort 

Definition at line 35 of file docpasswordhelper.hxx.

◆ EConfigurationModes

specify all possible modes, which can be used to open a configuration access.

See also
openConfig()
readDirectKey()
writeDirectKey()
Enumerator
Standard 

opens configuration in read/write mode (without LAZY writing!)

ReadOnly 

configuration will be opened readonly

AllLocales 

all localized nodes will be interpreted as XInterface instead of interpreting it as atomic value nodes

Definition at line 40 of file configurationhelper.hxx.

◆ HashType

enum class comphelper::HashType
strong
Enumerator
MD5 
SHA1 
SHA256 
SHA512 

Definition at line 25 of file hash.hxx.

Function Documentation

◆ anyLess()

bool COMPHELPER_DLLPUBLIC comphelper::anyLess ( css::uno::Any const &  lhs,
css::uno::Any const &  rhs 
)

Compare two Anys.

Definition at line 445 of file anycompare.cxx.

References anyLess().

Referenced by anyLess().

◆ anyToHash() [1/2]

COMPHELPER_DLLPUBLIC std::optional< size_t > comphelper::anyToHash ( css::uno::Any const &  value)

Tries to get a hash value for an ANY value.

Not all cases may be implemented, in which case no value is returned.

Parameters
valueANY value
Returns
hash of given ANY value, or not available

◆ anyToHash() [2/2]

std::optional< size_t > comphelper::anyToHash ( uno::Any const &  value)

Definition at line 202 of file anytohash.cxx.

References value.

◆ anyToString() [1/2]

COMPHELPER_DLLPUBLIC OUString comphelper::anyToString ( css::uno::Any const &  value)

Creates a STRING representation out of an ANY value.

Parameters
valueANY value
Returns
STRING representation of given ANY value

◆ anyToString() [2/2]

OUString comphelper::anyToString ( uno::Any const &  value)

Definition at line 307 of file anytostring.cxx.

References value.

Referenced by exceptionToStringImpl().

◆ arrayToSequence()

template<typename DstType , typename SrcType >
css::uno::Sequence< DstType > comphelper::arrayToSequence ( const SrcType *  i_pArray,
sal_Int32  nNum 
)
inline

Copy from a plain C/C++ array into a Sequence.

Template parameter: \n SrcType
Array element type. Must be assignable to DstType
Template parameter: \n DstType
Sequence element type. Must be assignable from SrcType
Parameters
i_pArrayValid pointer to at least num elements of type SrcType
nNumNumber of array elements to copy
Returns
the resulting Sequence
Attention: \n when copying from e.g. a double array to a
Sequence<int>, no proper rounding will be performed, but the values will be truncated. There's currently no measure to prevent or detect precision loss, overflow or truncation.

Definition at line 122 of file sequence.hxx.

References result.

◆ base64encode()

template<typename Buffer >
static void comphelper::base64encode ( Buffer aStrBuffer,
const uno::Sequence< sal_Int8 > &  aPass 
)
static

Definition at line 113 of file base64.cxx.

References i, and ThreeByteToFourByte().

◆ checkInterface()

static void comphelper::checkInterface ( css::uno::Type const &  rType)
static

Definition at line 59 of file compbase.cxx.

References SAL_WARN.

Referenced by WeakComponentImplHelper_query().

◆ combineSequences()

template<typename T >
css::uno::Sequence< T > comphelper::combineSequences ( css::uno::Sequence< T > const &  left,
css::uno::Sequence< T > const &  right 
)
inline

concat additional elements from right sequence to left sequence

be aware that this takes time O(|left| * |right|)

Definition at line 61 of file sequence.hxx.

References i, left, n1, n2, and right.

◆ compare_OUString_Property_Impl()

static int comphelper::compare_OUString_Property_Impl ( const void *  arg1,
const void *  arg2 
)
static

Definition at line 41 of file propshlp.cxx.

References Property, and SAL_THROW_EXTERN_C.

◆ concatSequences()

template<class T , class... Ss>
css::uno::Sequence< T > comphelper::concatSequences ( const css::uno::Sequence< T > &  rS1,
const Ss &...  rSn 
)
inline

concat several sequences

Definition at line 49 of file sequence.hxx.

Referenced by comphelper::DocPasswordHelper::requestAndVerifyDocPassword().

◆ containerToSequence() [1/4]

template<typename T >
css::uno::Sequence< T > comphelper::containerToSequence ( ::std::vector< T > const &  v)
inline

Definition at line 213 of file sequence.hxx.

References v.

◆ containerToSequence() [2/4]

template<typename DstElementType , typename SrcType >
css::uno::Sequence< DstElementType > comphelper::containerToSequence ( const SrcType &  i_Container)
inline

Copy from a container into a Sequence.

Template parameter: \n SrcType
Container type. This type must fulfill the STL container concept, in particular, the size(), begin() and end() methods must be available and have the usual semantics.
Template parameter: \n DstType
Sequence element type. Must be assignable from SrcType's elements
Parameters
i_ContainerReference to the input contain with elements of type SrcType
Returns
the generated Sequence
Attention: \n this function always performs a copy. Furthermore,
when copying from e.g. a vector<double> to a Sequence<int>, no proper rounding will be performed, but the values will be truncated. There's currently no measure to prevent or detect precision loss, overflow or truncation.

Definition at line 190 of file sequence.hxx.

References begin, end, result, and size.

Referenced by comphelper::string::convertCommaSeparated(), comphelper::OStorageHelper::CreateGpgPackageEncryptionData(), comphelper::OInteractionRequest::getContinuations(), comphelper::OPropertyArrayAggregationHelper::getProperties(), comphelper::TraceEvent::getRecordingAndClear(), JsonToPropertyValues(), and comphelper::ConfigurationHelper::openConfig().

◆ containerToSequence() [3/4]

template<typename SrcType >
css::uno::Sequence< typename SrcType::value_type > comphelper::containerToSequence ( const SrcType &  i_Container)
inline

Definition at line 200 of file sequence.hxx.

◆ containerToSequence() [4/4]

template<typename ElementType , std::size_t SrcSize>
css::uno::Sequence< ElementType > comphelper::containerToSequence ( ElementType const (&)  i_Array[SrcSize])
inline

Definition at line 207 of file sequence.hxx.

◆ ContainerUniquePtrEquals()

template<template< typename, typename... > class C, typename T , typename... Etc>
bool comphelper::ContainerUniquePtrEquals ( C< std::unique_ptr< T >, Etc... > const &  lhs,
C< std::unique_ptr< T >, Etc... > const &  rhs 
)

by-value implementation of std::foo<std::unique_ptr<T>>::operator==

Definition at line 97 of file stl_types.hxx.

◆ copyInputToOutput_Impl()

static void comphelper::copyInputToOutput_Impl ( const uno::Reference< io::XInputStream > &  xIn,
const uno::Reference< io::XOutputStream > &  xOut 
)
static

Definition at line 39 of file seekableinput.cxx.

References nConstBufferSize.

Referenced by comphelper::OSeekableInputWrapper::PrepareCopy_Impl().

◆ copyProperties() [1/2]

COMPHELPER_DLLPUBLIC void comphelper::copyProperties ( const css::uno::Reference< css::beans::XPropertySet > &  _rxSource,
const css::uno::Reference< css::beans::XPropertySet > &  _rxDest 
)

copy properties between property sets, in compliance with the property attributes of the target object

◆ copyProperties() [2/2]

void comphelper::copyProperties ( const Reference< XPropertySet > &  _rxSource,
const Reference< XPropertySet > &  _rxDest 
)

Definition at line 60 of file property.cxx.

References aBuffer, Any, Exception, Property, SAL_WARN, and TOOLS_WARN_EXCEPTION.

◆ createEventAttacherManager() [1/2]

COMPHELPER_DLLPUBLIC css::uno::Reference< css::script::XEventAttacherManager > comphelper::createEventAttacherManager ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
Exceptions
css::uno::Exception

◆ createEventAttacherManager() [2/2]

Reference< XEventAttacherManager > comphelper::createEventAttacherManager ( const Reference< XComponentContext > &  rxContext)

Definition at line 341 of file eventattachermgr.cxx.

References xIntrospection.

◆ dispatchCommand() [1/4]

COMPHELPER_DLLPUBLIC bool comphelper::dispatchCommand ( const OUString &  rCommand,
const css::uno::Reference< css::frame::XFrame > &  rFrame,
const css::uno::Sequence< css::beans::PropertyValue > &  rArguments,
const css::uno::Reference< css::frame::XDispatchResultListener > &  rListener = css::uno::Reference< css::frame::XDispatchResultListener >() 
)

◆ dispatchCommand() [2/4]

COMPHELPER_DLLPUBLIC bool comphelper::dispatchCommand ( const OUString &  rCommand,
const css::uno::Sequence< css::beans::PropertyValue > &  rArguments,
const css::uno::Reference< css::frame::XDispatchResultListener > &  rListener = css::uno::Reference< css::frame::XDispatchResultListener >() 
)

Dispatch the given UNO command in the active frame.

Parameters
rCommandthe command to dispatch, like ".uno:Bold".
Returns
true on success.

◆ dispatchCommand() [3/4]

bool comphelper::dispatchCommand ( const OUString &  rCommand,
const css::uno::Sequence< css::beans::PropertyValue > &  rArguments,
const uno::Reference< css::frame::XDispatchResultListener > &  rListener 
)

Definition at line 66 of file dispatchcommand.cxx.

References dispatchCommand(), getProcessComponentContext(), and xFrame.

◆ dispatchCommand() [4/4]

bool comphelper::dispatchCommand ( const OUString &  rCommand,
const uno::Reference< css::frame::XFrame > &  rFrame,
const css::uno::Sequence< css::beans::PropertyValue > &  rArguments,
const uno::Reference< css::frame::XDispatchResultListener > &  rListener 
)

Definition at line 34 of file dispatchcommand.cxx.

References getProcessComponentContext().

Referenced by dispatchCommand().

◆ disposeComponent()

template<class TYPE >
void comphelper::disposeComponent ( css::uno::Reference< TYPE > &  _rxComp)

ask the given object for an XComponent interface and dispose on it

Definition at line 43 of file types.hxx.

◆ doubleCheckedInit()

template<typename Type , typename Function = std::function<Type*()>, typename Guard = osl::MutexGuard, typename GuardCtor = osl::GetGlobalMutex>
static Type * comphelper::doubleCheckedInit ( std::atomic< Type * > &  pointer,
Function  function,
GuardCtor  guardCtor = osl::GetGlobalMutex() 
)
inlinestatic

Thread-safe singleton creation.

It is normally sufficient to create singletons using static variables in a function. This function is only for use cases that have a more complex lifetime of the object, such as when the object may require specific cleanup or may be created more times (e.g. when there is a "singleton" per each instance of another object).

Definition at line 43 of file doublecheckedinit.hxx.

References p.

◆ findValue()

template<class T1 , class T2 >
sal_Int32 comphelper::findValue ( const css::uno::Sequence< T1 > &  _rList,
const T2 &  _rValue 
)
inline

Search the given value within the given sequence, return the position of the first occurrence.

Returns -1 if nothing found.

Definition at line 35 of file sequence.hxx.

References i.

◆ g_aContentTypeAttr()

constexpr OUStringLiteral comphelper::g_aContentTypeAttr ( u"ContentType"  )
constexpr

◆ g_aDefaultElement()

constexpr OUStringLiteral comphelper::g_aDefaultElement ( u"Default"  )
constexpr

◆ g_aExtensionAttr()

constexpr OUStringLiteral comphelper::g_aExtensionAttr ( u"Extension"  )
constexpr

◆ g_aIDAttr()

constexpr OUStringLiteral comphelper::g_aIDAttr ( u"Id"  )
constexpr

◆ g_aOfficeBrandDirMacro()

constexpr OUStringLiteral comphelper::g_aOfficeBrandDirMacro ( u"$(brandbaseurl)"  )
constexpr

◆ g_aOverrideElement()

constexpr OUStringLiteral comphelper::g_aOverrideElement ( u"Override"  )
constexpr

◆ g_aPartNameAttr()

constexpr OUStringLiteral comphelper::g_aPartNameAttr ( u"PartName"  )
constexpr

◆ g_aRelElement()

constexpr OUStringLiteral comphelper::g_aRelElement ( u"Relationship"  )
constexpr

◆ g_aRelListElement()

constexpr OUStringLiteral comphelper::g_aRelListElement ( u"Relationships"  )
constexpr

◆ g_aTargetAttr()

constexpr OUStringLiteral comphelper::g_aTargetAttr ( u"Target"  )
constexpr

◆ g_aTargetModeAttr()

constexpr OUStringLiteral comphelper::g_aTargetModeAttr ( u"TargetMode"  )
constexpr

◆ g_aTypeAttr()

constexpr OUStringLiteral comphelper::g_aTypeAttr ( u"Type"  )
constexpr

◆ g_aTypesElement()

constexpr OUStringLiteral comphelper::g_aTypesElement ( u"Types"  )
constexpr

◆ g_aUserDirMacro()

constexpr OUStringLiteral comphelper::g_aUserDirMacro ( u"$(userdataurl)"  )
constexpr

◆ GeneratePBKDF2Hash()

static uno::Sequence< sal_Int8 > comphelper::GeneratePBKDF2Hash ( std::u16string_view  aPassword,
const uno::Sequence< sal_Int8 > &  aSalt,
sal_Int32  nCount,
sal_Int32  nHashLength 
)
static

◆ GenericPropertySet_CreateInstance()

css::uno::Reference< css::beans::XPropertySet > comphelper::GenericPropertySet_CreateInstance ( comphelper::PropertySetInfo pInfo)

Definition at line 241 of file genericpropertyset.cxx.

References XPropertySet.

◆ getBOOL() [1/2]

bool comphelper::getBOOL ( const Any &  _rAny)

Definition at line 84 of file types.cxx.

References o3tl::tryAccess< bool >().

◆ getBOOL() [2/2]

COMPHELPER_DLLPUBLIC bool comphelper::getBOOL ( const css::uno::Any &  _rAny)

◆ getComponentContext() [1/2]

COMPHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > comphelper::getComponentContext ( css::uno::Reference< css::lang::XMultiServiceFactory > const &  factory)

Obtains a component context from a service factory.

Throws a RuntimeException if no component context can be obtained.

Parameters
factorymay be null
Returns
may be null

◆ getComponentContext() [2/2]

Reference< XComponentContext > comphelper::getComponentContext ( Reference< XMultiServiceFactory > const &  factory)

Definition at line 84 of file processfactory.cxx.

References u.

Referenced by getProcessComponentContext().

◆ getDefaultFont()

COMPHELPER_DLLPUBLIC css::awt::FontDescriptor comphelper::getDefaultFont ( )

get a css::awt::FontDescriptor that is fully initialized with the XXX_DONTKNOW enum values (which isn't the case if you instantiate it via the default constructor)

Definition at line 103 of file types.cxx.

◆ getDouble() [1/2]

double comphelper::getDouble ( const Any &  _rAny)

Definition at line 60 of file types.cxx.

References SAL_WARN.

◆ getDouble() [2/2]

COMPHELPER_DLLPUBLIC double comphelper::getDouble ( const css::uno::Any &  _rAny)

◆ getEnumAsINT32() [1/2]

sal_Int32 comphelper::getEnumAsINT32 ( const Any &  _rAny)

Definition at line 94 of file types.cxx.

References cppu::enum2int().

◆ getEnumAsINT32() [2/2]

COMPHELPER_DLLPUBLIC sal_Int32 comphelper::getEnumAsINT32 ( const css::uno::Any &  _rAny)
Exceptions
css::lang::IllegalArgumentException

◆ getEventMethodsForType() [1/2]

COMPHELPER_DLLPUBLIC css::uno::Sequence< OUString > comphelper::getEventMethodsForType ( const css::uno::Type &  type)

◆ getEventMethodsForType() [2/2]

Sequence< OUString > comphelper::getEventMethodsForType ( const Type type)

◆ getExpandedUri()

OUString comphelper::getExpandedUri ( css::uno::Reference< css::uno::XComponentContext > const &  context,
OUString const &  uri 
)

A helper function to expand vnd.sun.star.expand URLs.

If the given URI is a vnd.sun.star.expand URL, it is expanded (using the given component context's com.sun.star.util.theMacroExpander); otherwise it is returned unchanged.

Definition at line 21 of file getexpandeduri.cxx.

References parse().

◆ getFloat() [1/2]

float comphelper::getFloat ( const Any &  _rAny)

Definition at line 68 of file types.cxx.

References SAL_WARN.

◆ getFloat() [2/2]

COMPHELPER_DLLPUBLIC float comphelper::getFloat ( const css::uno::Any &  _rAny)

◆ getFromUnoTunnel() [1/2]

template<class T >
T * comphelper::getFromUnoTunnel ( const css::uno::Reference< css::lang::XUnoTunnel > &  xUT)

Definition at line 53 of file servicehelper.hxx.

◆ getFromUnoTunnel() [2/2]

template<class T >
T * comphelper::getFromUnoTunnel ( const css::uno::Reference< css::uno::XInterface > &  xIface)

Definition at line 62 of file servicehelper.hxx.

◆ getINT16() [1/2]

sal_Int16 comphelper::getINT16 ( const Any &  _rAny)

Definition at line 52 of file types.cxx.

References SAL_WARN.

◆ getINT16() [2/2]

COMPHELPER_DLLPUBLIC sal_Int16 comphelper::getINT16 ( const css::uno::Any &  _rAny)

◆ getINT32() [1/2]

sal_Int32 comphelper::getINT32 ( const Any &  _rAny)

Definition at line 44 of file types.cxx.

References SAL_WARN.

◆ getINT32() [2/2]

COMPHELPER_DLLPUBLIC sal_Int32 comphelper::getINT32 ( const css::uno::Any &  _rAny)

◆ getINT64() [1/2]

sal_Int64 comphelper::getINT64 ( const Any &  _rAny)

Definition at line 36 of file types.cxx.

References SAL_WARN.

◆ getINT64() [2/2]

COMPHELPER_DLLPUBLIC sal_Int64 comphelper::getINT64 ( const css::uno::Any &  _rAny)

◆ GetkeyBindingStrByXkeyBinding() [1/2]

COMPHELPER_DLLPUBLIC OUString comphelper::GetkeyBindingStrByXkeyBinding ( const css::uno::Sequence< css::awt::KeyStroke > &  keySet)

Helper function used for converting keybinding to string.

Parameters
keySetthe key stroke sequence.

◆ GetkeyBindingStrByXkeyBinding() [2/2]

OUString comphelper::GetkeyBindingStrByXkeyBinding ( const Sequence< KeyStroke > &  keySet)

Definition at line 31 of file AccessibleImplementationHelper.cxx.

◆ GetMediaMimes()

static auto comphelper::GetMediaMimes ( ) -> std::map<OString, OString> const&
static

Definition at line 174 of file graphicmimetype.cxx.

Referenced by GuessMediaMimeType(), and IsMediaMimeType().

◆ getNumberFormatDecimals()

COMPHELPER_DLLPUBLIC css::uno::Any comphelper::getNumberFormatDecimals ( const css::uno::Reference< css::util::XNumberFormats > &  xFormats,
sal_Int32  nKey 
)

returns the decimals of the given numeric number formatunder the given formats

Definition at line 61 of file numbers.cxx.

References SAL_WARN.

◆ getNumberFormatProperty() [1/2]

COMPHELPER_DLLPUBLIC css::uno::Any comphelper::getNumberFormatProperty ( const css::uno::Reference< css::util::XNumberFormatter > &  _rxFormatter,
sal_Int32  _nKey,
const OUString &  _rPropertyName 
)

retrieves the value of a given property for a given format key, relating to a given formatter

◆ getNumberFormatProperty() [2/2]

Any comphelper::getNumberFormatProperty ( const Reference< XNumberFormatter > &  _rxFormatter,
sal_Int32  _nKey,
const OUString &  _rPropertyName 
)

Definition at line 87 of file numbers.cxx.

References Any, and Exception.

◆ getNumberFormatType() [1/2]

COMPHELPER_DLLPUBLIC sal_Int16 comphelper::getNumberFormatType ( const css::uno::Reference< css::util::XNumberFormats > &  xFormats,
sal_Int32  nKey 
)

returns the css::util::NumberFormat of the given key under the given formats

Definition at line 31 of file numbers.cxx.

References SAL_WARN.

Referenced by getNumberFormatType().

◆ getNumberFormatType() [2/2]

COMPHELPER_DLLPUBLIC sal_Int16 comphelper::getNumberFormatType ( const css::uno::Reference< css::util::XNumberFormatter > &  xFormatter,
sal_Int32  nKey 
)

returns the css::util::NumberFormat of the given key under the given formatter

Definition at line 51 of file numbers.cxx.

References getNumberFormatType().

◆ getProcessComponentContext()

COMPHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > comphelper::getProcessComponentContext ( )

◆ getProcessServiceFactory()

COMPHELPER_DLLPUBLIC css::uno::Reference< css::lang::XMultiServiceFactory > comphelper::getProcessServiceFactory ( )

This function gets the process service factory.

If no service factory is set the function throws a RuntimeException.

Definition at line 74 of file processfactory.cxx.

Referenced by getProcessComponentContext().

◆ getSequenceElementType() [1/2]

COMPHELPER_DLLPUBLIC css::uno::Type comphelper::getSequenceElementType ( const css::uno::Type &  _rSequenceType)

examine a sequence for the com.sun.star.uno::Type of its elements.

◆ getSequenceElementType() [2/2]

Type comphelper::getSequenceElementType ( const Type _rSequenceType)

Definition at line 125 of file types.cxx.

◆ getSomething_cast() [1/2]

template<class T >
T * comphelper::getSomething_cast ( sal_Int64  n)
inline

Definition at line 48 of file servicehelper.hxx.

References n.

◆ getSomething_cast() [2/2]

sal_Int64 comphelper::getSomething_cast ( void *  p)
inline

Definition at line 43 of file servicehelper.hxx.

References p.

◆ getSomethingImpl()

template<class T , class Base = void>
sal_Int64 comphelper::getSomethingImpl ( const css::uno::Sequence< sal_Int8 > &  rId,
T *  pThis,
FallbackToGetSomethingOf< Base = {} 
)

Definition at line 89 of file servicehelper.hxx.

◆ getStandardLessPredicate() [1/2]

::std::unique_ptr< IKeyPredicateLess > COMPHELPER_DLLPUBLIC comphelper::getStandardLessPredicate ( css::uno::Type const &  i_type,
css::uno::Reference< css::i18n::XCollator > const &  i_collator 
)

creates a default IKeyPredicateLess instance for the given UNO type

Parameters
i_typethe type for which a predicate instance should be created
i_collatorspecifies a collator instance to use, or <NULL>. If <NULL>, strings will be compared using the &lt operator, otherwise the collator will be used. The parameter is ignored if <arg>i_type</arg> does not specify the string type.
Returns
a default implementation of IKeyPredicateLess, which is able to compare values of the given type. If no such default implementation is known for the given type, then <NULL> is returned.

◆ getStandardLessPredicate() [2/2]

std::unique_ptr< IKeyPredicateLess > comphelper::getStandardLessPredicate ( Type const &  i_type,
Reference< XCollator > const &  i_collator 
)

Definition at line 378 of file anycompare.cxx.

◆ getString() [1/2]

OUString comphelper::getString ( const Any &  _rAny)

Definition at line 76 of file types.cxx.

References SAL_WARN.

◆ getString() [2/2]

COMPHELPER_DLLPUBLIC OUString comphelper::getString ( const css::uno::Any &  _rAny)

◆ getTypeEntries()

static cppu::type_entry * comphelper::getTypeEntries ( cppu::class_data *  cd)
static

Definition at line 81 of file compbase.cxx.

References aMutex, isXInterface(), mutex, n, and SAL_WARN.

Referenced by queryDeepNoXInterface().

◆ GuessMediaMimeType()

COMPHELPER_DLLPUBLIC auto comphelper::GuessMediaMimeType ( ::std::u16string_view  rFileName) -> OUString

Definition at line 222 of file graphicmimetype.cxx.

References GetMediaMimes(), i, and OUStringToOString().

◆ hasProperty() [1/2]

COMPHELPER_DLLPUBLIC bool comphelper::hasProperty ( const OUString &  _rName,
const css::uno::Reference< css::beans::XPropertySet > &  _rxSet 
)

check if the given set has the given property.

◆ hasProperty() [2/2]

bool comphelper::hasProperty ( const OUString &  _rName,
const Reference< XPropertySet > &  _rxSet 
)

Definition at line 131 of file property.cxx.

◆ InitAnyPropertySequence()

css::uno::Sequence< css::uno::Any > comphelper::InitAnyPropertySequence ( ::std::initializer_list< ::std::pair< OUString, css::uno::Any > >  vInit)
inline

Init list for property sequences that wrap the PropertyValues in Anys.

This is particularly useful for creation of sequences that are later unwrapped using comphelper::SequenceAsHashMap.

Definition at line 43 of file propertysequence.hxx.

Referenced by comphelper::MimeConfigurationHelper::GetConfigurationByPathImpl().

◆ InitPropertySequence()

css::uno::Sequence< css::beans::PropertyValue > comphelper::InitPropertySequence ( ::std::initializer_list< ::std::pair< OUString, css::uno::Any > >  vInit)
inline

Init list for property sequences.

Definition at line 27 of file propertysequence.hxx.

Referenced by comphelper::EmbeddedObjectContainer::StoreEmbeddedObject().

◆ intersperse()

template<typename ForwardIter , typename OutputIter , typename T >
OutputIter comphelper::intersperse ( ForwardIter  start,
ForwardIter  end,
OutputIter  out,
T const &  separator 
)

algorithm similar to std::copy, but inserts a separator between elements.

Definition at line 153 of file stl_types.hxx.

References end, separator, and start.

Referenced by comphelper::string::convertCommaSeparated().

◆ isAssignableFrom() [1/2]

COMPHELPER_DLLPUBLIC bool comphelper::isAssignableFrom ( const css::uno::Type &  _rAssignable,
const css::uno::Type &  _rFrom 
)

returns sal_True if objects of the types given are "compatible"

◆ isAssignableFrom() [2/2]

bool comphelper::isAssignableFrom ( const Type _rAssignable,
const Type _rFrom 
)

Definition at line 112 of file types.cxx.

References typelib_typedescription_isAssignableFrom().

◆ IsContextFlagActive()

bool comphelper::IsContextFlagActive ( const OUString &  sName)
inline

Definition at line 59 of file SetFlagContextHelper.hxx.

References sName.

◆ isDebuggerAttached()

COMPHELPER_DLLPUBLIC bool comphelper::isDebuggerAttached ( )

Returns true if the process is running with a debugger attached.

This is useful to disable watchdogs or increase timeouts if they trigger too soon while using a debugger.

Definition at line 31 of file debuggerinfo.cxx.

References close, pos, and size.

Referenced by comphelper::ThreadTaskTag::waitUntilDone().

◆ isFileUrl()

bool comphelper::isFileUrl ( std::u16string_view  url)

Definition at line 26 of file fileurl.cxx.

References o3tl::matchIgnoreAsciiCase().

Referenced by makeCanonicalFileURL().

◆ IsMediaMimeType() [1/2]

COMPHELPER_DLLPUBLIC auto comphelper::IsMediaMimeType ( ::std::string_view const  rMimeType) -> bool

Definition at line 203 of file graphicmimetype.cxx.

References IsMediaMimeType().

Referenced by IsMediaMimeType().

◆ IsMediaMimeType() [2/2]

COMPHELPER_DLLPUBLIC auto comphelper::IsMediaMimeType ( OUString const &  rMimeType) -> bool

Definition at line 208 of file graphicmimetype.cxx.

References AVMEDIA_MIMETYPE_COMMON, and GetMediaMimes().

◆ isUnoTunnelId()

template<typename T >
bool comphelper::isUnoTunnelId ( const css::uno::Sequence< sal_Int8 > &  rId)
inline

Definition at line 69 of file servicehelper.hxx.

◆ isXInterface()

static bool comphelper::isXInterface ( rtl_uString *  pStr)
static

Definition at line 69 of file compbase.cxx.

Referenced by getTypeEntries(), and WeakComponentImplHelper_query().

◆ JoinAsyncEventNotifiers()

COMPHELPER_DLLPUBLIC void comphelper::JoinAsyncEventNotifiers ( )

Definition at line 176 of file asyncnotification.cxx.

References g_Notifiers.

◆ JsonToPropertyValues()

COMPHELPER_DLLPUBLIC std::vector< css::beans::PropertyValue > comphelper::JsonToPropertyValues ( const OString &  rJson)

◆ lcl_notifyMapDataListeners_nothrow()

static void comphelper::lcl_notifyMapDataListeners_nothrow ( const MapData &  _mapData)
static

Definition at line 254 of file enumerablemap.cxx.

◆ lcl_registerMapModificationListener()

static void comphelper::lcl_registerMapModificationListener ( MapData &  _mapData,
MapEnumerator &  _listener 
)
static

Definition at line 117 of file enumerablemap.cxx.

◆ lcl_revokeMapModificationListener()

static void comphelper::lcl_revokeMapModificationListener ( MapData &  _mapData,
MapEnumerator &  _listener 
)
static

Definition at line 129 of file enumerablemap.cxx.

References find().

◆ LookupStorageAtPath()

static uno::Reference< embed::XStorage > comphelper::LookupStorageAtPath ( const uno::Reference< embed::XStorage > &  xParentStorage,
std::vector< OUString > &  rElems,
sal_uInt32  nOpenMode,
LifecycleProxy const &  rNastiness 
)
static

◆ make_shared_from_UNO()

template<typename T >
std::shared_ptr< T > comphelper::make_shared_from_UNO ( T *  p)
inline

Makes a std::shared_ptr from a ref-counted UNO object pointer.

This makes sense if the object is used via UNO (implementing some X interface) and also internally using its implementation class, e.g.

    std::shared_ptr<MyUnoImpl> const ptr(
        comphelper::make_shared_from_UNO( new MyUnoImpl ) );
    ...
    xUno->callingUno( uno::Reference<XSomeInterface>( ptr.get() ) );
    ...
    takeSharedPtr( ptr );
    ...
Attention: \n The shared_ptr operates on a separate reference counter, so
weak pointers (std::weak_ptr) are invalidated when the last shared_ptr is destroyed, although the UNO object may still be alive.
Parameters
pobject pointer
Returns
shared_ptr to object

Definition at line 58 of file make_shared_from_uno.hxx.

References p.

◆ makeInterface()

static void * comphelper::makeInterface ( sal_IntPtr  nOffset,
void *  that 
)
static

Definition at line 120 of file compbase.cxx.

Referenced by queryDeepNoXInterface().

◆ makePropertyValue() [1/2]

template<typename T , std::enable_if_t<!std::is_arithmetic_v< std::remove_reference_t< T > >, int > = 0>
css::beans::PropertyValue comphelper::makePropertyValue ( const OUString &  rName,
T &&  rValue 
)

◆ makePropertyValue() [2/2]

template<typename T , std::enable_if_t< std::is_arithmetic_v< T >, int > = 0>
css::beans::PropertyValue comphelper::makePropertyValue ( const OUString &  rName,
aValue 
)

Definition at line 37 of file propertyvalue.hxx.

References makePropertyValue().

◆ mapKeysToSequence()

template<typename M >
css::uno::Sequence< typename M::key_type > comphelper::mapKeysToSequence ( M const &  map)
inline

Copy (keys or values) from an associate container into a Sequence.

Template parameter: \n M map container type eg. std::map/std::unordered_map
Returns
the generated Sequence

Definition at line 300 of file sequence.hxx.

References i, and map.

Referenced by comphelper::EmbeddedObjectContainer::GetObjectNames().

◆ mapValuesToSequence()

template<typename M >
css::uno::Sequence< typename M::mapped_type > comphelper::mapValuesToSequence ( M const &  map)
inline

Definition at line 309 of file sequence.hxx.

References i, and map.

◆ mem_fun()

template<class Tp , class Arg >
mem_fun1_t< Tp, Arg > comphelper::mem_fun ( void(Tp::*)(Arg)  f)
inline

Definition at line 119 of file stl_types.hxx.

◆ ModifyPropertyAttributes() [1/2]

COMPHELPER_DLLPUBLIC void comphelper::ModifyPropertyAttributes ( css::uno::Sequence< css::beans::Property > &  _rProps,
const OUString &  _sPropName,
sal_Int16  _nAddAttrib,
sal_Int16  _nRemoveAttrib 
)

within the given property sequence, modify attributes of a special property

Parameters
_rPropsthe sequence of properties to search in
_sPropNamethe name of the property which's attributes should be modified
_nAddAttribthe attributes which should be added
_nRemoveAttribthe attributes which should be removed

◆ ModifyPropertyAttributes() [2/2]

void comphelper::ModifyPropertyAttributes ( Sequence< Property > &  seqProps,
const OUString &  sPropName,
sal_Int16  nAddAttrib,
sal_Int16  nRemoveAttrib 
)

Definition at line 155 of file property.cxx.

References begin, end, and Property.

◆ NameContainer_createInstance()

COMPHELPER_DLLPUBLIC css::uno::Reference< css::container::XNameContainer > comphelper::NameContainer_createInstance ( const css::uno::Type &  aType)

◆ newArray_null()

template<typename T >
T * comphelper::newArray_null ( size_t const  n)
noexcept

Definition at line 30 of file newarray.hxx.

References n.

◆ NewFlagContext()

css::uno::Reference< css::uno::XCurrentContext > comphelper::NewFlagContext ( const OUString &  sName)
inline

Definition at line 48 of file SetFlagContextHelper.hxx.

References sName.

Referenced by NoEnableJavaInteractionContext().

◆ NoEnableJavaInteractionContext()

css::uno::Reference< css::uno::XCurrentContext > comphelper::NoEnableJavaInteractionContext ( )
inline

Definition at line 54 of file SetFlagContextHelper.hxx.

References NewFlagContext().

◆ operator<<() [1/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
bool  _bVal 
)

Definition at line 86 of file basicio.cxx.

◆ operator<<() [2/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
const css::awt::FontDescriptor &  _rFont 
)

Definition at line 29 of file basicio.cxx.

◆ operator<<() [3/9]

template<class ELEMENT >
const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
const css::uno::Sequence< ELEMENT > &  _rSeq 
)

Definition at line 74 of file basicio.hxx.

References ELEMENT.

◆ operator<<() [4/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
const OUString &  rStr 
)

Definition at line 100 of file basicio.cxx.

◆ operator<<() [5/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
sal_Int16  _nValue 
)

Definition at line 114 of file basicio.cxx.

References _nValue.

◆ operator<<() [6/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
sal_Int32  _nValue 
)

Definition at line 156 of file basicio.cxx.

References _nValue.

◆ operator<<() [7/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
sal_uInt16  _nValue 
)

Definition at line 128 of file basicio.cxx.

References _nValue.

◆ operator<<() [8/9]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectOutputStream > & comphelper::operator<< ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream,
sal_uInt32  _nValue 
)

Definition at line 142 of file basicio.cxx.

References _nValue.

◆ operator<<() [9/9]

void comphelper::operator<< ( css::uno::Reference< css::io::XObjectOutputStream > const &  ,
sal_Bool   
)
delete

◆ operator>>() [1/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
bool &  _rVal 
)

Definition at line 79 of file basicio.cxx.

◆ operator>>() [2/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
css::awt::FontDescriptor &  _rFont 
)

Definition at line 54 of file basicio.cxx.

◆ operator>>() [3/8]

template<class ELEMENT >
const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
css::uno::Sequence< ELEMENT > &  _rSeq 
)

Definition at line 65 of file basicio.hxx.

References ELEMENT.

◆ operator>>() [4/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
OUString &  rStr 
)

Definition at line 93 of file basicio.cxx.

◆ operator>>() [5/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
sal_Int16 &  _rValue 
)

Definition at line 107 of file basicio.cxx.

◆ operator>>() [6/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
sal_Int32 &  _rValue 
)

Definition at line 149 of file basicio.cxx.

◆ operator>>() [7/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
sal_uInt16 &  _rValue 
)

Definition at line 121 of file basicio.cxx.

◆ operator>>() [8/8]

COMPHELPER_DLLPUBLIC const css::uno::Reference< css::io::XObjectInputStream > & comphelper::operator>> ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream,
sal_uInt32 &  _rValue 
)

Definition at line 135 of file basicio.cxx.

◆ parallelSort()

template<class RandItr , class Compare = std::less<>>
void comphelper::parallelSort ( const RandItr  aBegin,
const RandItr  aEnd,
Compare  aComp = Compare() 
)

Definition at line 363 of file parallelsort.hxx.

◆ query_aggregation()

template<class iface >
bool comphelper::query_aggregation ( const css::uno::Reference< css::uno::XAggregation > &  _rxAggregate,
css::uno::Reference< iface > &  _rxOut 
)

ask for an iface of an aggregated object usage:
Reference<XFoo> xFoo;
if (query_aggregation(xAggregatedObject, xFoo))
...

Definition at line 154 of file uno3.hxx.

◆ queryDeepNoXInterface()

static void * comphelper::queryDeepNoXInterface ( typelib_TypeDescriptionReference const *  pDemandedTDR,
cppu::class_data *  cd,
void *  that 
)
static

◆ recursivelyFindType()

static bool comphelper::recursivelyFindType ( typelib_TypeDescriptionReference const *  demandedType,
typelib_InterfaceTypeDescription const *  type,
sal_IntPtr *  offset 
)
static

Definition at line 125 of file compbase.cxx.

References base, i, recursivelyFindType(), td_equals(), and type.

Referenced by queryDeepNoXInterface(), and recursivelyFindType().

◆ removeElementAt()

template<class T >
void comphelper::removeElementAt ( css::uno::Sequence< T > &  _rSeq,
sal_Int32  _nPos 
)
inline

remove a specified element from a sequences

Definition at line 88 of file sequence.hxx.

References _nPos, and nLength.

Referenced by RemoveProperty().

◆ RemoveProperty() [1/2]

COMPHELPER_DLLPUBLIC void comphelper::RemoveProperty ( css::uno::Sequence< css::beans::Property > &  seqProps,
const OUString &  _rPropName 
)

remove the property with the given name from the given sequence

◆ RemoveProperty() [2/2]

void comphelper::RemoveProperty ( Sequence< Property > &  _rProps,
const OUString &  _rPropName 
)

Definition at line 142 of file property.cxx.

References Property, and removeElementAt().

◆ rTPool()

static comphelper::ThreadPool & comphelper::rTPool ( comphelper::ThreadPool::getSharedOptimalPool()  )
static

◆ SAL_LOPLUGIN_ANNOTATE()

class COMPHELPER_DLLPUBLIC comphelper::SAL_LOPLUGIN_ANNOTATE ( "crosscast"  )

Interface that we can cast to, to bypass the inefficiency of using Sequence<sal_Int8> when reading via XInputStream.

Interface that we can cast to, to bypass the inefficiency of using Sequence<sal_Int8> when writing via XOutputStream.

Definition at line 21 of file bytereader.hxx.

References aData.

◆ sequenceToArray()

template<typename DstType , typename SrcType >
DstType * comphelper::sequenceToArray ( DstType *  io_pArray,
const css::uno::Sequence< SrcType > &  i_Sequence 
)
inline

Copy from a Sequence into a plain C/C++ array.

Template parameter: \n SrcType
Sequence element type. Must be assignable to DstType
Template parameter: \n DstType
Array element type. Must be assignable from SrcType
Parameters
io_pArrayValid pointer to at least i_Sequence.getLength() elements of type DstType
i_SequenceReference to a Sequence of SrcType elements
Returns
a pointer to the array
Attention: \n when copying from e.g. a Sequence to an int
array, no proper rounding will be performed, but the values will be truncated. There's currently no measure to prevent or detect precision loss, overflow or truncation.

Definition at line 160 of file sequence.hxx.

◆ sequenceToContainer() [1/3]

template<typename DstType , typename SrcType >
DstType comphelper::sequenceToContainer ( const css::uno::Sequence< SrcType > &  i_Sequence)
inline

Copy from a Sequence into a container.

Template parameter: \n SrcType
Sequence element type. Must be assignable to SrcType's elements
Template parameter: \n DstType
Container type. This type must have a constructor taking a pair of iterators defining a range to copy from
Parameters
i_SequenceReference to a Sequence of SrcType elements
Returns
the generated container. C++17 copy elision rules apply
Attention: \n this function always performs a copy. Furthermore,
when copying from e.g. a Sequence<double> to a vector<int>, no proper rounding will be performed, but the values will be truncated. There's currently no measure to prevent or detect precision loss, overflow or truncation.

Definition at line 243 of file sequence.hxx.

◆ sequenceToContainer() [2/3]

template<typename DstType >
DstType comphelper::sequenceToContainer ( const css::uno::Sequence< typename DstType::value_type > &  i_Sequence)
inline

Definition at line 250 of file sequence.hxx.

◆ sequenceToContainer() [3/3]

template<typename DstType , typename SrcType >
DstType & comphelper::sequenceToContainer ( DstType &  o_Output,
const css::uno::Sequence< SrcType > &  i_Sequence 
)
inline

Copy from a Sequence into an existing container.

This potentially saves a needless extra copy operation over the whole container, as it passes the target object by reference.

Template parameter: \n SrcType
Sequence element type. Must be assignable to SrcType's elements
Template parameter: \n DstType
Container type. This type must fulfill the STL container and sequence concepts, in particular, the begin(), end() and resize(int) methods must be available and have the usual semantics.
Parameters
o_OutputReference to the target container
i_SequenceReference to a Sequence of SrcType elements
Returns
a non-const reference to the given container
Attention: \n this function always performs a copy. Furthermore,
when copying from e.g. a Sequence<double> to a vector<int>, no proper rounding will be performed, but the values will be truncated. There's currently no measure to prevent or detect precision loss, overflow or truncation.

Definition at line 286 of file sequence.hxx.

◆ setProcessServiceFactory() [1/2]

COMPHELPER_DLLPUBLIC void comphelper::setProcessServiceFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory > &  xSMgr)

This function set the process service factory.

◆ setProcessServiceFactory() [2/2]

void comphelper::setProcessServiceFactory ( const Reference< XMultiServiceFactory > &  xSMgr)

Definition at line 69 of file processfactory.cxx.

References xSMgr.

◆ splitPath()

static void comphelper::splitPath ( std::vector< OUString > &  rElems,
std::u16string_view  rPath 
)
static

Definition at line 617 of file storagehelper.cxx.

References o3tl::getToken(), i, and splitPath().

◆ td_equals()

static bool comphelper::td_equals ( typelib_TypeDescriptionReference const *  pTDR1,
typelib_TypeDescriptionReference const *  pTDR2 
)
static

Definition at line 74 of file compbase.cxx.

Referenced by queryDeepNoXInterface(), and recursivelyFindType().

◆ ThreeByteToFourByte()

template<typename C >
static void comphelper::ThreeByteToFourByte ( const sal_Int8 pBuffer,
const sal_Int32  nStart,
const sal_Int32  nFullLen,
C *  aCharBuffer 
)
static

Definition at line 65 of file base64.cxx.

References aBase64EncodeTable, and nIndex.

Referenced by base64encode().

◆ tryPropertyValue() [1/3]

bool comphelper::tryPropertyValue ( Any &  _rConvertedValue,
Any &  _rOldValue,
const Any &  _rValueToSet,
const Any &  _rCurrentValue,
const Type _rExpectedType 
)

Definition at line 170 of file property.cxx.

References Any, and uno_type_assignData().

◆ tryPropertyValue() [2/3]

COMPHELPER_DLLPUBLIC bool comphelper::tryPropertyValue ( css::uno::Any &  _rConvertedValue,
css::uno::Any &  _rOldValue,
const css::uno::Any &  _rValueToSet,
const css::uno::Any &  _rCurrentValue,
const css::uno::Type &  _rExpectedType 
)

helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue

Parameters
_rConvertedValuethe conversion result (if successful)
_rOldValuethe old value of the property, calculated from _rCurrentValue
_rValueToSetthe new value which is about to be set
_rCurrentValuethe current value of the property
_rExpectedTypethe type which the property should have (if not void)
Returns
sal_True, if the value could be converted and has changed sal_False, if the value could be converted and has not changed
Exceptions
InvalidArgumentExceptionthrown if the value could not be converted to the requested type (which is the template argument)

◆ tryPropertyValue() [3/3]

template<typename T >
bool comphelper::tryPropertyValue ( css::uno::Any &  _rConvertedValue,
css::uno::Any &  _rOldValue,
const css::uno::Any &  _rValueToSet,
const T &  _rCurrentValue 
)

helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue

Parameters
_rConvertedValuethe conversion result (if successful)
_rOldValuethe old value of the property, calculated from _rCurrentValue
_rValueToSetthe new value which is about to be set
_rCurrentValuethe current value of the property
Returns
sal_True, if the value could be converted and has changed sal_False, if the value could be converted and has not changed
Exceptions
InvalidArgumentExceptionthrown if the value could not be converted to the requested type (which is the template argument)

Definition at line 74 of file property.hxx.

◆ tryPropertyValueEnum()

template<class ENUMTYPE >
std::enable_if< std::is_enum< ENUMTYPE >::value, bool >::type comphelper::tryPropertyValueEnum ( css::uno::Any &  _rConvertedValue,
css::uno::Any &  _rOldValue,
const css::uno::Any &  _rValueToSet,
const ENUMTYPE &  _rCurrentValue 
)

helper for implementing cppu::OPropertySetHelper::convertFastPropertyValue for enum values

Parameters
_rConvertedValuethe conversion result (if successful)
_rOldValuethe old value of the property, calculated from _rCurrentValue
_rValueToSetthe new value which is about to be set
_rCurrentValuethe current value of the property
Returns
sal_True, if the value could be converted and has changed sal_False, if the value could be converted and has not changed
Exceptions
InvalidArgumentExceptionthrown if the value could not be converted to the requested type (which is the template argument)

Definition at line 99 of file property.hxx.

References cppu::any2enum().

◆ UNLESS_MERGELIBS()

class comphelper::UNLESS_MERGELIBS ( COMPHELPER_DLLPUBLIC  )

implements handling for compatibly reading/writing data from/into an input/output stream.

data written in a block secured by this class should be readable by older versions which use the same mechanism.

starts reading of a "skippable" section of data within the given input stream

Parameters
_rxInputthe stream to read from. Must support the css::io::XMarkableStream interface

starts writing of a "skippable" section of data into the given output stream

Parameters
_rxOutputthe stream the stream to write to. Must support the css::io::XMarkableStream interface

dtor.
If constructed for writing, the section "opened" by this object will be "closed".
If constructed for reading, any remaining bytes 'til the end of the section will be skipped.

Definition at line 1 of file streamsection.hxx.

◆ unwrapArgs()

template<typename... Args>
void comphelper::unwrapArgs ( const css::uno::Sequence< css::uno::Any > &  seq,
Args &...  args 
)
inline

Definition at line 111 of file unwrapargs.hxx.

References args, and comphelper::detail::unwrapArgs().

◆ WeakComponentImplHelper_query()

COMPHELPER_DLLPUBLIC css::uno::Any comphelper::WeakComponentImplHelper_query ( css::uno::Type const &  rType,
cppu::class_data *  cd,
WeakComponentImplHelperBase pBase 
)

Variable Documentation

◆ aBase64DecodeTable

const sal_uInt8 comphelper::aBase64DecodeTable[]
Initial value:
=
{ 62,255,255,255, 63,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61,255,255,255, 0,255,255,
255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,255,255,255,255,255,
0, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 }

Definition at line 44 of file base64.cxx.

Referenced by comphelper::Base64::decodeSomeChars().

◆ aBase64EncodeTable

const char comphelper::aBase64EncodeTable[]
Initial value:
=
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/' }

Definition at line 36 of file base64.cxx.

Referenced by ThreeByteToFourByte().

◆ aGenerator

thread_local std::mt19937 comphelper::aGenerator { std::random_device{}() }
static

Definition at line 32 of file parallelsort.hxx.

◆ bHyperThreadingActive

const bool comphelper::bHyperThreadingActive = cpuid::hasHyperThreading()

Definition at line 29 of file parallelsort.hxx.

◆ ERRMSG_INVALID_COMPONENT_PARAM

constexpr OUStringLiteral comphelper::ERRMSG_INVALID_COMPONENT_PARAM = u"NULL as component reference not allowed."
constexpr

◆ g_Notifiers

std::vector<std::weak_ptr<AsyncEventNotifierAutoJoin> > comphelper::g_Notifiers
static

◆ gbIsWorkerThread

thread_local bool comphelper::gbIsWorkerThread
static

prevent waiting for a task from inside a task

Definition at line 39 of file threadpool.cxx.

Referenced by comphelper::ThreadPool::ThreadWorker::execute(), and comphelper::ThreadPool::waitUntilDone().

◆ HANDLE_AUTHENTICATIONREQUEST

const sal_Int32 comphelper::HANDLE_AUTHENTICATIONREQUEST = 4

Will handle com::sun::star::ucb::AuthenticationRequest.

Definition at line 30 of file simplefileaccessinteraction.cxx.

Referenced by comphelper::SimpleFileAccessInteraction::intercepted(), and comphelper::SimpleFileAccessInteraction::SimpleFileAccessInteraction().

◆ HANDLE_CERTIFICATEREQUEST

const sal_Int32 comphelper::HANDLE_CERTIFICATEREQUEST = 3

Will handle com::sun::star::ucb::CertificateValidationRequest.

Definition at line 28 of file simplefileaccessinteraction.cxx.

Referenced by comphelper::SimpleFileAccessInteraction::intercepted(), and comphelper::SimpleFileAccessInteraction::SimpleFileAccessInteraction().

◆ HANDLE_INTERACTIVEIOEXCEPTION

const sal_Int32 comphelper::HANDLE_INTERACTIVEIOEXCEPTION = 0

Will handle com::sun::star::ucb::InteractiveIOException and derived classes.

Definition at line 22 of file simplefileaccessinteraction.cxx.

Referenced by comphelper::SimpleFileAccessInteraction::intercepted(), and comphelper::SimpleFileAccessInteraction::SimpleFileAccessInteraction().

◆ HANDLE_INTERACTIVENETWORKEXCEPTION

const sal_Int32 comphelper::HANDLE_INTERACTIVENETWORKEXCEPTION = 2

Will handle com::sun::star::ucb::InteractiveNetworkException.

Definition at line 26 of file simplefileaccessinteraction.cxx.

Referenced by comphelper::SimpleFileAccessInteraction::intercepted(), and comphelper::SimpleFileAccessInteraction::SimpleFileAccessInteraction().

◆ HANDLE_UNSUPPORTEDDATASINKEXCEPTION

const sal_Int32 comphelper::HANDLE_UNSUPPORTEDDATASINKEXCEPTION = 1

Will handle com::sun::star::ucb::UnsupportedDataSinkException.

Definition at line 24 of file simplefileaccessinteraction.cxx.

Referenced by comphelper::SimpleFileAccessInteraction::intercepted(), and comphelper::SimpleFileAccessInteraction::SimpleFileAccessInteraction().

◆ MD5_HASH_LENGTH

const sal_uInt32 comphelper::MD5_HASH_LENGTH = RTL_DIGEST_LENGTH_MD5

Definition at line 33 of file hash.hxx.

Referenced by comphelper::Hash::getLength().

◆ nConstBufferSize

const sal_Int32 comphelper::nConstBufferSize = 32000

◆ nProfileZoneNesting

thread_local int comphelper::nProfileZoneNesting = 0
static

◆ nThreadCountGlobal

const size_t comphelper::nThreadCountGlobal = std::thread::hardware_concurrency()

Definition at line 28 of file parallelsort.hxx.

◆ SHA1_HASH_LENGTH

const sal_uInt32 comphelper::SHA1_HASH_LENGTH = RTL_DIGEST_LENGTH_SHA1

Definition at line 34 of file hash.hxx.

Referenced by comphelper::Hash::getLength().

◆ SHA256_HASH_LENGTH

const sal_uInt32 comphelper::SHA256_HASH_LENGTH = 32

Definition at line 35 of file hash.hxx.

Referenced by comphelper::Hash::getLength().

◆ SHA512_HASH_LENGTH

const sal_uInt32 comphelper::SHA512_HASH_LENGTH = 64

Definition at line 36 of file hash.hxx.

Referenced by comphelper::Hash::getLength().