19#ifndef INCLUDED_SW_INC_ISTYLEACCESS_HXX
20#define INCLUDED_SW_INC_ISTYLEACCESS_HXX
42 const OUString* pParentName =
nullptr ) = 0;
43 virtual void getAllStyles( std::vector<std::shared_ptr<SfxItemSet>> &rStyles,
48 virtual std::shared_ptr<SfxItemSet>
getByName(
const OUString& rName,
virtual std::shared_ptr< SfxItemSet > getByName(const OUString &rName, SwAutoStyleFamily eFamily)=0
It's slow to iterate through a stylepool looking for a special name, but if the style has been insert...
virtual void clearCaches()=0
To release the cached styles (shared_pointer!)
virtual std::shared_ptr< SfxItemSet > cacheAutomaticStyle(const SfxItemSet &rSet, SwAutoStyleFamily eFamily)=0
insert the style to the pool and the cache (used during import)
virtual void getAllStyles(std::vector< std::shared_ptr< SfxItemSet > > &rStyles, SwAutoStyleFamily eFamily)=0
virtual std::shared_ptr< SfxItemSet > getAutomaticStyle(const SfxItemSet &rSet, SwAutoStyleFamily eFamily, const OUString *pParentName=nullptr)=0