LibreOffice Module filter (master) 1
Classes | Typedefs | Functions
filter::config Namespace Reference

Classes

class  BaseContainer
 implements the interface css::container::XNameContainer on top of a FilterCache reference. More...
 
class  CacheItem
 represent an item of a FilterCache instance. More...
 
class  CacheUpdateListener
 implements a listener, which will update the global filter cache, if the underlying configuration wa changed by other processes. More...
 
class  ConfigFlush
 supports registration of XRefreshListener on the global filter configuration. More...
 
class  ContentHandlerFactory
 implements the service <type scope="com.sun.star.document">ContentHandlerFactory</type>. More...
 
class  FilterCache
 implements a cache, which contains all elements of our filter and type detection configuration. More...
 
class  FilterFactory
 implements the service <type scope="com.sun.star.document">FilterFactory</type>. More...
 
struct  FlatDetectionInfo
 is used to collect all matching types of a URL during type detection. More...
 
class  FrameLoaderFactory
 implements the service <type scope="com.sun.star.document">FrameLoaderFactory</type>. More...
 
class  QueryTokenizer
 It can be used to split any query string (which can be used at the related interface <type scope="css::container">XContainerQuery</type>) into its different tokens using a fix schema. More...
 
class  TerminateDetection
 
class  TypeDetection
 implements the service <type scope="com.sun.star.document">TypeDetection</type>. More...
 

Typedefs

typedef std::unordered_map< OUString, CacheItemCacheItemList
 represent an item list of a FilterCache instance. More...
 
typedef std::unordered_map< OUString, std::vector< OUString > > CacheItemRegistration
 supports registration of multiple key to another string information. More...
 
typedef ::std::vector< FlatDetectionInfoFlatDetection
 

Functions

static bool isSubSet (const css::uno::Any &aSubSet, const css::uno::Any &aSet)
 
FilterCacheGetTheFilterCache ()
 

Typedef Documentation

◆ CacheItemList

typedef std::unordered_map< OUString, CacheItem > filter::config::CacheItemList

represent an item list of a FilterCache instance.

Definition at line 129 of file cacheitem.hxx.

◆ CacheItemRegistration

typedef std::unordered_map< OUString, std::vector<OUString> > filter::config::CacheItemRegistration

supports registration of multiple key to another string information.

@descr E.g. a list of internal type names can be registered to an extension. Organization as an hash makes it faster than searching inside vectors.

On the other side e.g. URLPattern can't be really addressed by a hash value ... because the use wildcards. But there we need key-value pairs too, which can't be provided by a pure vector!

Definition at line 145 of file cacheitem.hxx.

◆ FlatDetection

Definition at line 173 of file cacheitem.hxx.

Function Documentation

◆ GetTheFilterCache()

FilterCache & filter::config::GetTheFilterCache ( )

◆ isSubSet()

static bool filter::config::isSubSet ( const css::uno::Any &  aSubSet,
const css::uno::Any &  aSet 
)
static