LibreOffice Module comphelper (master) 1
|
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, LessPredicateAdapter > | KeyedValues |
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, UnoTypeLess > | TypeBag |
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< AnyEvent > | AnyEventRef |
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< IKeyPredicateLess > | getStandardLessPredicate (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_Int8 > | GeneratePBKDF2Hash (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 Type * | doubleCheckedInit (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::XPropertySet > | GenericPropertySet_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::ThreadPool & | rTPool (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< ElementType > | containerToSequence (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 ::std::map< css::uno::Reference< css::accessibility::XAccessible > , rtl::Reference< comphelper::OAccessibleWrapper > > comphelper::AccessibleMap |
Definition at line 318 of file accessiblewrapper.hxx.
typedef ::rtl::Reference< AnyEvent > comphelper::AnyEventRef |
Definition at line 55 of file asyncnotification.hxx.
typedef cppu::WeakImplHelper< css::beans::XPropertySet, css::beans::XMultiPropertySet, css::lang::XServiceInfo > comphelper::ChainablePropertySetBase |
Definition at line 66 of file ChainablePropertySet.hxx.
typedef std::unordered_map<OUString, uno::Reference<embed::XEmbeddedObject> > comphelper::EmbeddedObjectContainerNameMap |
Definition at line 57 of file embeddedobjectcontainer.cxx.
typedef std::shared_ptr<osl::File> comphelper::FileSharedPtr |
Definition at line 20 of file DirectoryHelper.cxx.
typedef ValueRestorationGuard<bool> comphelper::FlagRestorationGuard |
Definition at line 61 of file flagguard.hxx.
typedef std::vector<css::uno::Sequence<css::beans::PropertyValue> > comphelper::IndexedPropertyValues |
Definition at line 22 of file indexedpropertyvalues.hxx.
typedef std::map< Any, Any, LessPredicateAdapter > comphelper::KeyedValues |
Definition at line 85 of file enumerablemap.cxx.
typedef ::cppu::WeakAggComponentImplHelper3< XInitialization , XEnumerableMap , XServiceInfo > comphelper::Map_IFace |
Definition at line 149 of file enumerablemap.cxx.
typedef ::cppu::WeakImplHelper< XEnumeration > comphelper::MapEnumeration_Base |
Definition at line 263 of file enumerablemap.cxx.
typedef std::map< sal_Int32, css::uno::Any > comphelper::MapInt2Any |
Definition at line 55 of file opropertybag.hxx.
typedef ORelease< ::osl::Mutex > comphelper::MutexRelease |
Definition at line 47 of file guarding.hxx.
typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessibleEventBroadcaster , css::accessibility::XAccessibleContext > comphelper::OAccessibleContextWrapper_CBase |
Definition at line 241 of file accessiblewrapper.hxx.
typedef ::cppu::ImplHelper1< css::accessibility::XAccessibleEventListener > comphelper::OAccessibleContextWrapperHelper_Base |
Definition at line 125 of file accessiblewrapper.hxx.
typedef ::cppu::WeakImplHelper< css::accessibility::XAccessibleKeyBinding > comphelper::OAccessibleKeyBindingHelper_Base |
Definition at line 37 of file accessiblekeybindinghelper.hxx.
typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessibleContext2, css::accessibility::XAccessibleEventBroadcaster > comphelper::OCommonAccessibleComponent_Base |
Definition at line 43 of file accessiblecomponenthelper.hxx.
typedef cppu::WeakImplHelper< css::util::XOfficeInstallationDirectories, css::lang::XServiceInfo > comphelper::OfficeInstallationDirectories_Base |
Definition at line 38 of file officeinstallationdirectories.hxx.
typedef std::unordered_map< sal_Int32, ::cppu::IPropertyArrayHelper* > comphelper::OIdPropertyArrayMap |
Definition at line 31 of file IdPropArrayHelper.hxx.
typedef OInteraction< css::task::XInteractionAbort > comphelper::OInteractionAbort |
Definition at line 78 of file interaction.hxx.
typedef OInteraction< css::task::XInteractionApprove > comphelper::OInteractionApprove |
Definition at line 68 of file interaction.hxx.
typedef OInteraction< css::task::XInteractionDisapprove > comphelper::OInteractionDisapprove |
Definition at line 73 of file interaction.hxx.
typedef ::cppu::WeakImplHelper< css::task::XInteractionRequest > comphelper::OInteractionRequest_Base |
Definition at line 89 of file interaction.hxx.
typedef OInteraction< css::task::XInteractionRetry > comphelper::OInteractionRetry |
Definition at line 83 of file interaction.hxx.
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.
typedef ::comphelper::OPropertyStateHelper comphelper::OPropertyBag_PBase |
Definition at line 64 of file opropertybag.hxx.
typedef ::cppu::ImplHelper1< css::beans::XPropertyState > comphelper::OPropertyStateContainer_TBase |
Definition at line 37 of file propertystatecontainer.hxx.
typedef ::std::optional< OUString > comphelper::OptionalString |
Definition at line 68 of file logging.hxx.
typedef OWeakListenerAdapter< css::lang::XComponent , css::lang::XEventListener > comphelper::OWeakEventListenerAdapter_Base |
Definition at line 134 of file weakeventlistener.hxx.
typedef ::cppu::WeakImplHelper< css::lang::XEventListener > comphelper::OWrappedAccessibleChildrenManager_Base |
Definition at line 322 of file accessiblewrapper.hxx.
typedef std::unordered_map<OUString, PropertyMapEntry const *> comphelper::PropertyMap |
Definition at line 78 of file propertysetinfo.hxx.
using comphelper::SequenceAsHashMapBase = typedef std::unordered_map<OUStringAndHashCode, css::uno::Any, OUStringAndHashCodeHash, OUStringAndHashCodeEqual> |
Definition at line 64 of file sequenceashashmap.hxx.
typedef std::set< css::uno::Type, UnoTypeLess > comphelper::TypeBag |
Definition at line 56 of file opropertybag.hxx.
|
strong |
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.
|
strong |
Enumerator | |
---|---|
OK | |
WrongPassword | |
Abort |
Definition at line 35 of file docpasswordhelper.hxx.
|
strong |
specify all possible modes, which can be used to open a configuration access.
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.
|
strong |
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().
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.
value | ANY value |
std::optional< size_t > comphelper::anyToHash | ( | uno::Any const & | value | ) |
Definition at line 202 of file anytohash.cxx.
References value.
COMPHELPER_DLLPUBLIC OUString comphelper::anyToString | ( | css::uno::Any const & | value | ) |
Creates a STRING representation out of an ANY value.
value | ANY value |
OUString comphelper::anyToString | ( | uno::Any const & | value | ) |
Definition at line 307 of file anytostring.cxx.
References value.
Referenced by exceptionToStringImpl().
|
inline |
Copy from a plain C/C++ array into a Sequence.
i_pArray | Valid pointer to at least num elements of type SrcType |
nNum | Number of array elements to copy |
Definition at line 122 of file sequence.hxx.
References result.
|
static |
Definition at line 113 of file base64.cxx.
References i, and ThreeByteToFourByte().
|
static |
Definition at line 59 of file compbase.cxx.
References SAL_WARN.
Referenced by WeakComponentImplHelper_query().
|
inline |
|
static |
Definition at line 41 of file propshlp.cxx.
References Property, and SAL_THROW_EXTERN_C.
|
inline |
concat several sequences
Definition at line 49 of file sequence.hxx.
Referenced by comphelper::DocPasswordHelper::requestAndVerifyDocPassword().
|
inline |
Definition at line 213 of file sequence.hxx.
References v.
|
inline |
Copy from a container into a Sequence.
i_Container | Reference to the input contain with elements of type SrcType |
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().
|
inline |
Definition at line 200 of file sequence.hxx.
|
inline |
Definition at line 207 of file sequence.hxx.
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.
|
static |
Definition at line 39 of file seekableinput.cxx.
References nConstBufferSize.
Referenced by comphelper::OSeekableInputWrapper::PrepareCopy_Impl().
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
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.
COMPHELPER_DLLPUBLIC css::uno::Reference< css::script::XEventAttacherManager > comphelper::createEventAttacherManager | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
css::uno::Exception |
Reference< XEventAttacherManager > comphelper::createEventAttacherManager | ( | const Reference< XComponentContext > & | rxContext | ) |
Definition at line 341 of file eventattachermgr.cxx.
References xIntrospection.
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 >() |
||
) |
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.
rCommand | the command to dispatch, like ".uno:Bold". |
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.
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().
void comphelper::disposeComponent | ( | css::uno::Reference< TYPE > & | _rxComp | ) |
|
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.
|
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.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
static |
Definition at line 60 of file docpasswordhelper.cxx.
References nCount, and OUStringToOString().
Referenced by comphelper::DocPasswordHelper::GenerateNewModifyPasswordInfo(), and comphelper::DocPasswordHelper::IsModifyPasswordCorrect().
css::uno::Reference< css::beans::XPropertySet > comphelper::GenericPropertySet_CreateInstance | ( | comphelper::PropertySetInfo * | pInfo | ) |
Definition at line 241 of file genericpropertyset.cxx.
References XPropertySet.
bool comphelper::getBOOL | ( | const Any & | _rAny | ) |
Definition at line 84 of file types.cxx.
References o3tl::tryAccess< bool >().
COMPHELPER_DLLPUBLIC bool comphelper::getBOOL | ( | const css::uno::Any & | _rAny | ) |
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.
factory | may be null |
Reference< XComponentContext > comphelper::getComponentContext | ( | Reference< XMultiServiceFactory > const & | factory | ) |
Definition at line 84 of file processfactory.cxx.
References u.
Referenced by getProcessComponentContext().
COMPHELPER_DLLPUBLIC css::awt::FontDescriptor comphelper::getDefaultFont | ( | ) |
double comphelper::getDouble | ( | const Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC double comphelper::getDouble | ( | const css::uno::Any & | _rAny | ) |
sal_Int32 comphelper::getEnumAsINT32 | ( | const Any & | _rAny | ) |
Definition at line 94 of file types.cxx.
References cppu::enum2int().
COMPHELPER_DLLPUBLIC sal_Int32 comphelper::getEnumAsINT32 | ( | const css::uno::Any & | _rAny | ) |
css::lang::IllegalArgumentException |
COMPHELPER_DLLPUBLIC css::uno::Sequence< OUString > comphelper::getEventMethodsForType | ( | const css::uno::Type & | type | ) |
Sequence< OUString > comphelper::getEventMethodsForType | ( | const Type & | type | ) |
Definition at line 29 of file evtmethodhelper.cxx.
References i, type, typelib_typedescription_release(), and typelib_typedescriptionreference_getDescription().
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().
float comphelper::getFloat | ( | const Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC float comphelper::getFloat | ( | const css::uno::Any & | _rAny | ) |
T * comphelper::getFromUnoTunnel | ( | const css::uno::Reference< css::lang::XUnoTunnel > & | xUT | ) |
Definition at line 53 of file servicehelper.hxx.
T * comphelper::getFromUnoTunnel | ( | const css::uno::Reference< css::uno::XInterface > & | xIface | ) |
Definition at line 62 of file servicehelper.hxx.
sal_Int16 comphelper::getINT16 | ( | const Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC sal_Int16 comphelper::getINT16 | ( | const css::uno::Any & | _rAny | ) |
sal_Int32 comphelper::getINT32 | ( | const Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC sal_Int32 comphelper::getINT32 | ( | const css::uno::Any & | _rAny | ) |
sal_Int64 comphelper::getINT64 | ( | const Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC sal_Int64 comphelper::getINT64 | ( | const css::uno::Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC OUString comphelper::GetkeyBindingStrByXkeyBinding | ( | const css::uno::Sequence< css::awt::KeyStroke > & | keySet | ) |
Helper function used for converting keybinding to string.
keySet | the key stroke sequence. |
OUString comphelper::GetkeyBindingStrByXkeyBinding | ( | const Sequence< KeyStroke > & | keySet | ) |
Definition at line 31 of file AccessibleImplementationHelper.cxx.
|
static |
Definition at line 174 of file graphicmimetype.cxx.
Referenced by GuessMediaMimeType(), and IsMediaMimeType().
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.
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
Any comphelper::getNumberFormatProperty | ( | const Reference< XNumberFormatter > & | _rxFormatter, |
sal_Int32 | _nKey, | ||
const OUString & | _rPropertyName | ||
) |
Definition at line 87 of file numbers.cxx.
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().
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().
COMPHELPER_DLLPUBLIC css::uno::Reference< css::uno::XComponentContext > comphelper::getProcessComponentContext | ( | ) |
This function gets the process service factory's default component context.
Throws a RuntimeException if no component context can be obtained.
Definition at line 110 of file processfactory.cxx.
References getComponentContext(), and getProcessServiceFactory().
Referenced by comphelper::EmbeddedObjectContainer::CopyAndGetEmbeddedObject(), comphelper::OStorageHelper::CreateGpgPackageEncryptionData(), comphelper::OStorageHelper::CreatePackageEncryptionData(), comphelper::SynchronousDispatch::dispatch(), dispatchCommand(), comphelper::EmbeddedObjectContainer::Get_Impl(), comphelper::GraphicMimeTypeHelper::GetMimeTypeForImageStream(), comphelper::OStorageHelper::GetStorageFactory(), comphelper::OStorageHelper::GetStorageFromURL2(), comphelper::OCommonAccessibleText::implGetBreakIterator(), comphelper::OCommonAccessibleText::implGetCharacterClassification(), comphelper::EmbeddedObjectContainer::InsertEmbeddedLink(), comphelper::EmbeddedObjectContainer::InsertEmbeddedObject(), AsyncQuitHandler::QuitApplication(), and comphelper::BackupFileHelper::tryDisableHWAcceleration().
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().
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.
|
inline |
Definition at line 48 of file servicehelper.hxx.
References n.
|
inline |
Definition at line 43 of file servicehelper.hxx.
References p.
sal_Int64 comphelper::getSomethingImpl | ( | const css::uno::Sequence< sal_Int8 > & | rId, |
T * | pThis, | ||
FallbackToGetSomethingOf< Base > | = {} |
||
) |
Definition at line 89 of file servicehelper.hxx.
::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
i_type | the type for which a predicate instance should be created |
i_collator | specifies a collator instance to use, or <NULL>. If <NULL>, strings will be compared using the < operator, otherwise the collator will be used. The parameter is ignored if <arg>i_type</arg> does not specify the string type. |
std::unique_ptr< IKeyPredicateLess > comphelper::getStandardLessPredicate | ( | Type const & | i_type, |
Reference< XCollator > const & | i_collator | ||
) |
Definition at line 378 of file anycompare.cxx.
OUString comphelper::getString | ( | const Any & | _rAny | ) |
COMPHELPER_DLLPUBLIC OUString comphelper::getString | ( | const css::uno::Any & | _rAny | ) |
|
static |
Definition at line 81 of file compbase.cxx.
References aMutex, isXInterface(), mutex, n, and SAL_WARN.
Referenced by queryDeepNoXInterface().
COMPHELPER_DLLPUBLIC auto comphelper::GuessMediaMimeType | ( | ::std::u16string_view | rFileName | ) | -> OUString |
Definition at line 222 of file graphicmimetype.cxx.
References GetMediaMimes(), i, and OUStringToOString().
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.
bool comphelper::hasProperty | ( | const OUString & | _rName, |
const Reference< XPropertySet > & | _rxSet | ||
) |
Definition at line 131 of file property.cxx.
|
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().
|
inline |
Init list for property sequences.
Definition at line 27 of file propertysequence.hxx.
Referenced by comphelper::EmbeddedObjectContainer::StoreEmbeddedObject().
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().
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"
Definition at line 112 of file types.cxx.
References typelib_typedescription_isAssignableFrom().
|
inline |
Definition at line 59 of file SetFlagContextHelper.hxx.
References sName.
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().
bool comphelper::isFileUrl | ( | std::u16string_view | url | ) |
Definition at line 26 of file fileurl.cxx.
References o3tl::matchIgnoreAsciiCase().
Referenced by makeCanonicalFileURL().
COMPHELPER_DLLPUBLIC auto comphelper::IsMediaMimeType | ( | ::std::string_view const | rMimeType | ) | -> bool |
Definition at line 203 of file graphicmimetype.cxx.
References IsMediaMimeType().
Referenced by IsMediaMimeType().
COMPHELPER_DLLPUBLIC auto comphelper::IsMediaMimeType | ( | OUString const & | rMimeType | ) | -> bool |
Definition at line 208 of file graphicmimetype.cxx.
References AVMEDIA_MIMETYPE_COMMON, and GetMediaMimes().
|
inline |
Definition at line 69 of file servicehelper.hxx.
|
static |
Definition at line 69 of file compbase.cxx.
Referenced by getTypeEntries(), and WeakComponentImplHelper_query().
COMPHELPER_DLLPUBLIC void comphelper::JoinAsyncEventNotifiers | ( | ) |
Definition at line 176 of file asyncnotification.cxx.
References g_Notifiers.
COMPHELPER_DLLPUBLIC std::vector< css::beans::PropertyValue > comphelper::JsonToPropertyValues | ( | const OString & | rJson | ) |
Definition at line 311 of file sequenceashashmap.cxx.
References aArguments, aPropertyValues, aSeq, containerToSequence(), JsonToPropertyValues(), SAL_WARN, o3tl::toInt32(), o3tl::toInt64(), and o3tl::toUInt32().
Referenced by JsonToPropertyValues().
|
static |
Definition at line 254 of file enumerablemap.cxx.
|
static |
Definition at line 117 of file enumerablemap.cxx.
|
static |
Definition at line 129 of file enumerablemap.cxx.
References find().
|
static |
Definition at line 623 of file storagehelper.cxx.
References i, and comphelper::LifecycleProxy::m_xBadness.
Referenced by comphelper::OStorageHelper::GetStorageAtPath(), and comphelper::OStorageHelper::GetStreamAtPath().
|
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 ); ...
p | object pointer |
Definition at line 58 of file make_shared_from_uno.hxx.
References p.
|
static |
Definition at line 120 of file compbase.cxx.
Referenced by queryDeepNoXInterface().
css::beans::PropertyValue comphelper::makePropertyValue | ( | const OUString & | rName, |
T && | rValue | ||
) |
Creates a beans::PropertyValue easily, i.e.
you can write:
function(comphelper::makePropertyValue("Foo", nBar));
instead of writing 3 extra lines to set the name and value of the beans::PropertyValue.
Definition at line 30 of file propertyvalue.hxx.
Referenced by comphelper::DocPasswordHelper::ConvertPasswordInfo(), comphelper::EmbeddedObjectContainer::CopyAndGetEmbeddedObject(), comphelper::DocPasswordHelper::GenerateNewModifyPasswordInfo(), comphelper::DocPasswordHelper::GenerateNewModifyPasswordInfoOOXML(), comphelper::EmbeddedObjectContainer::Get_Impl(), comphelper::GraphicMimeTypeHelper::GetMimeTypeForImageStream(), comphelper::OStorageHelper::GetStorageOfFormatFromURL(), comphelper::EmbeddedObjectContainer::InsertEmbeddedLink(), comphelper::EmbeddedObjectContainer::InsertGraphicStreamDirectly(), and makePropertyValue().
css::beans::PropertyValue comphelper::makePropertyValue | ( | const OUString & | rName, |
T | aValue | ||
) |
Definition at line 37 of file propertyvalue.hxx.
References makePropertyValue().
|
inline |
Copy (keys or values) from an associate container into a Sequence.
Definition at line 300 of file sequence.hxx.
Referenced by comphelper::EmbeddedObjectContainer::GetObjectNames().
|
inline |
Definition at line 309 of file sequence.hxx.
|
inline |
Definition at line 119 of file stl_types.hxx.
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
_rProps | the sequence of properties to search in |
_sPropName | the name of the property which's attributes should be modified |
_nAddAttrib | the attributes which should be added |
_nRemoveAttrib | the attributes which should be removed |
void comphelper::ModifyPropertyAttributes | ( | Sequence< Property > & | seqProps, |
const OUString & | sPropName, | ||
sal_Int16 | nAddAttrib, | ||
sal_Int16 | nRemoveAttrib | ||
) |
Definition at line 155 of file property.cxx.
COMPHELPER_DLLPUBLIC css::uno::Reference< css::container::XNameContainer > comphelper::NameContainer_createInstance | ( | const css::uno::Type & | aType | ) |
|
noexcept |
Definition at line 30 of file newarray.hxx.
References n.
|
inline |
Definition at line 48 of file SetFlagContextHelper.hxx.
References sName.
Referenced by NoEnableJavaInteractionContext().
|
inline |
Definition at line 54 of file SetFlagContextHelper.hxx.
References NewFlagContext().
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.
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.
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.
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.
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.
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.
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.
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.
|
delete |
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.
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.
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.
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.
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.
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.
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.
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.
void comphelper::parallelSort | ( | const RandItr | aBegin, |
const RandItr | aEnd, | ||
Compare | aComp = Compare() |
||
) |
Definition at line 363 of file parallelsort.hxx.
bool comphelper::query_aggregation | ( | const css::uno::Reference< css::uno::XAggregation > & | _rxAggregate, |
css::uno::Reference< iface > & | _rxOut | ||
) |
|
static |
Definition at line 165 of file compbase.cxx.
References getTypeEntries(), m_type, makeInterface(), n, recursivelyFindType(), SAL_WARN, and td_equals().
Referenced by WeakComponentImplHelper_query().
|
static |
Definition at line 125 of file compbase.cxx.
References base, i, recursivelyFindType(), td_equals(), and type.
Referenced by queryDeepNoXInterface(), and recursivelyFindType().
|
inline |
remove a specified element from a sequences
Definition at line 88 of file sequence.hxx.
References _nPos, and nLength.
Referenced by RemoveProperty().
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
void comphelper::RemoveProperty | ( | Sequence< Property > & | _rProps, |
const OUString & | _rPropName | ||
) |
Definition at line 142 of file property.cxx.
References Property, and removeElementAt().
|
static |
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.
|
inline |
Copy from a Sequence into a plain C/C++ array.
io_pArray | Valid pointer to at least i_Sequence.getLength() elements of type DstType |
i_Sequence | Reference to a Sequence of SrcType elements |
Definition at line 160 of file sequence.hxx.
|
inline |
Copy from a Sequence into a container.
i_Sequence | Reference to a Sequence of SrcType elements |
Definition at line 243 of file sequence.hxx.
|
inline |
Definition at line 250 of file sequence.hxx.
|
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.
o_Output | Reference to the target container |
i_Sequence | Reference to a Sequence of SrcType elements |
Definition at line 286 of file sequence.hxx.
COMPHELPER_DLLPUBLIC void comphelper::setProcessServiceFactory | ( | const css::uno::Reference< css::lang::XMultiServiceFactory > & | xSMgr | ) |
This function set the process service factory.
void comphelper::setProcessServiceFactory | ( | const Reference< XMultiServiceFactory > & | xSMgr | ) |
Definition at line 69 of file processfactory.cxx.
References xSMgr.
|
static |
Definition at line 617 of file storagehelper.cxx.
References o3tl::getToken(), i, and splitPath().
|
static |
Definition at line 74 of file compbase.cxx.
Referenced by queryDeepNoXInterface(), and recursivelyFindType().
|
static |
Definition at line 65 of file base64.cxx.
References aBase64EncodeTable, and nIndex.
Referenced by base64encode().
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().
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
_rConvertedValue | the conversion result (if successful) |
_rOldValue | the old value of the property, calculated from _rCurrentValue |
_rValueToSet | the new value which is about to be set |
_rCurrentValue | the current value of the property |
_rExpectedType | the type which the property should have (if not void) |
InvalidArgumentException | thrown if the value could not be converted to the requested type (which is the template argument) |
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
_rConvertedValue | the conversion result (if successful) |
_rOldValue | the old value of the property, calculated from _rCurrentValue |
_rValueToSet | the new value which is about to be set |
_rCurrentValue | the current value of the property |
InvalidArgumentException | thrown if the value could not be converted to the requested type (which is the template argument) |
Definition at line 74 of file property.hxx.
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
_rConvertedValue | the conversion result (if successful) |
_rOldValue | the old value of the property, calculated from _rCurrentValue |
_rValueToSet | the new value which is about to be set |
_rCurrentValue | the current value of the property |
InvalidArgumentException | thrown 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().
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
_rxInput | the stream to read from. Must support the css::io::XMarkableStream interface |
starts writing of a "skippable" section of data into the given output stream
_rxOutput | the 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.
|
inline |
Definition at line 111 of file unwrapargs.hxx.
References args, and comphelper::detail::unwrapArgs().
COMPHELPER_DLLPUBLIC css::uno::Any comphelper::WeakComponentImplHelper_query | ( | css::uno::Type const & | rType, |
cppu::class_data * | cd, | ||
WeakComponentImplHelperBase * | pBase | ||
) |
Definition at line 211 of file compbase.cxx.
References checkInterface(), isXInterface(), p, and queryDeepNoXInterface().
Referenced by comphelper::WeakComponentImplHelper< Ifc >::queryInterface().
const sal_uInt8 comphelper::aBase64DecodeTable[] |
Definition at line 44 of file base64.cxx.
Referenced by comphelper::Base64::decodeSomeChars().
const char comphelper::aBase64EncodeTable[] |
Definition at line 36 of file base64.cxx.
Referenced by ThreeByteToFourByte().
|
static |
Definition at line 32 of file parallelsort.hxx.
const bool comphelper::bHyperThreadingActive = cpuid::hasHyperThreading() |
Definition at line 29 of file parallelsort.hxx.
|
constexpr |
Definition at line 27 of file numberedcollection.cxx.
Referenced by comphelper::NumberedCollection::leaseNumber(), and comphelper::NumberedCollection::releaseNumberForComponent().
|
static |
Definition at line 174 of file asyncnotification.cxx.
Referenced by JoinAsyncEventNotifiers(), comphelper::AsyncEventNotifierAutoJoin::newAsyncEventNotifierAutoJoin(), and comphelper::AsyncEventNotifierAutoJoin::~AsyncEventNotifierAutoJoin().
|
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().
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().
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().
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().
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().
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().
const sal_uInt32 comphelper::MD5_HASH_LENGTH = RTL_DIGEST_LENGTH_MD5 |
Definition at line 33 of file hash.hxx.
Referenced by comphelper::Hash::getLength().
const sal_Int32 comphelper::nConstBufferSize = 32000 |
Definition at line 36 of file seekableinput.cxx.
Referenced by comphelper::OStorageHelper::CopyInputToOutput(), and copyInputToOutput_Impl().
|
static |
Definition at line 33 of file traceevent.cxx.
Referenced by comphelper::ProfileZone::getNestingLevel(), and comphelper::ProfileZone::setNestingLevel().
const size_t comphelper::nThreadCountGlobal = std::thread::hardware_concurrency() |
Definition at line 28 of file parallelsort.hxx.
const sal_uInt32 comphelper::SHA1_HASH_LENGTH = RTL_DIGEST_LENGTH_SHA1 |
Definition at line 34 of file hash.hxx.
Referenced by comphelper::Hash::getLength().
const sal_uInt32 comphelper::SHA256_HASH_LENGTH = 32 |
Definition at line 35 of file hash.hxx.
Referenced by comphelper::Hash::getLength().
const sal_uInt32 comphelper::SHA512_HASH_LENGTH = 64 |
Definition at line 36 of file hash.hxx.
Referenced by comphelper::Hash::getLength().