LibreOffice Module filter (master) 1
|
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, CacheItem > | CacheItemList |
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< FlatDetectionInfo > | FlatDetection |
Functions | |
static bool | isSubSet (const css::uno::Any &aSubSet, const css::uno::Any &aSet) |
FilterCache & | GetTheFilterCache () |
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.
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.
typedef ::std::vector< FlatDetectionInfo > filter::config::FlatDetection |
Definition at line 173 of file cacheitem.hxx.
FilterCache & filter::config::GetTheFilterCache | ( | ) |
Definition at line 33 of file filterfactory.cxx.
Referenced by filter::config::BaseContainer::BaseContainer(), filter::config::FilterFactory::createInstanceWithArguments(), filter::config::ContentHandlerFactory::createInstanceWithArguments(), filter::config::FrameLoaderFactory::createInstanceWithArguments(), filter::config::BaseContainer::flush(), filter::config::FilterFactory::getAvailableServiceNames(), filter::config::TypeDetection::impl_checkResultsAndAddBestFilter(), filter::config::TypeDetection::impl_detectTypeFlatAndDeep(), filter::config::TypeDetection::impl_getAllFormatTypes(), filter::config::TypeDetection::impl_getPreselectionForDocumentService(), filter::config::TypeDetection::impl_getPreselectionForType(), filter::config::TypeDetection::impl_getTypeFromFilter(), filter::config::BaseContainer::impl_getWorkingCache(), filter::config::BaseContainer::impl_initFlushMode(), filter::config::BaseContainer::impl_loadOnDemand(), filter::config::TypeDetection::impl_validateAndSetFilterOnDescriptor(), filter::config::TypeDetection::impl_validateAndSetTypeOnDescriptor(), and filter::config::TypeDetection::queryTypeByURL().
|
static |
Definition at line 115 of file cacheitem.cxx.
References comphelper::SequenceAsHashMap::end(), comphelper::SequenceAsHashMap::find(), isSubSet(), n1, and n2.
Referenced by filter::config::CacheItem::dontHaveProps(), filter::config::CacheItem::haveProps(), and isSubSet().