LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXStyleFamilies Class Referencefinal

#include <unostyle.hxx>

Inheritance diagram for SwXStyleFamilies:
Collaboration diagram for SwXStyleFamilies:

Public Member Functions

 SwXStyleFamilies (SwDocShell &rDocShell)
virtual css::uno::Any SAL_CALL getByName (const OUString &Name) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
virtual sal_Bool SAL_CALL hasByName (const OUString &Name) override
virtual sal_Int32 SAL_CALL getCount () override
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
virtual css::uno::Type SAL_CALL getElementType () override
virtual sal_Bool SAL_CALL hasElements () override
virtual void SAL_CALL loadStylesFromURL (const OUString &rURL, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getStyleLoaderOptions () override
virtual OUString SAL_CALL getImplementationName () override
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
- Public Member Functions inherited from SwUnoCollection
 SwUnoCollection (SwDoc *p)
virtual ~SwUnoCollection ()
virtual void Invalidate ()
bool IsValid () const
SwDocGetDoc () const

Static Public Member Functions

static css::uno::Reference< css::style::XStyle > CreateStyle (SfxStyleFamily eFamily, SwDoc &rDoc)
static css::uno::Reference< css::style::XStyle > CreateStyleCondParagraph (SwDoc &rDoc)

Private Member Functions

virtual ~SwXStyleFamilies () override

Private Attributes

std::map< SfxStyleFamily, css::uno::Reference< css::container::XNameContainer > > m_vFamilies

Detailed Description

Definition at line 47 of file unostyle.hxx.

Constructor & Destructor Documentation

◆ ~SwXStyleFamilies()

SwXStyleFamilies::~SwXStyleFamilies ( )

Definition at line 864 of file unostyle.cxx.

◆ SwXStyleFamilies()

SwXStyleFamilies::SwXStyleFamilies ( SwDocShell rDocShell)

Definition at line 859 of file unostyle.cxx.

Member Function Documentation

◆ CreateStyle()

uno::Reference< css::style::XStyle > SwXStyleFamilies::CreateStyle ( SfxStyleFamily  eFamily,
SwDoc rDoc 

Definition at line 999 of file unostyle.cxx.

References SwDoc::GetDocShell().

Referenced by SwXServiceProvider::MakeInstance().

◆ CreateStyleCondParagraph()

uno::Reference< css::style::XStyle > SwXStyleFamilies::CreateStyleCondParagraph ( SwDoc rDoc)

Definition at line 1008 of file unostyle.cxx.

Referenced by SwXServiceProvider::MakeInstance().

◆ getByIndex()

uno::Any SwXStyleFamilies::getByIndex ( sal_Int32  nIndex)

Definition at line 901 of file unostyle.cxx.

References SwUnoCollection::IsValid(), m_pDocShell, m_vFamilies, o3tl::make_unsigned(), and nIndex.

Referenced by getByName().

◆ getByName()

uno::Any SAL_CALL SwXStyleFamilies::getByName ( const OUString &  Name)

Definition at line 867 of file unostyle.cxx.

References getByIndex(), SwUnoCollection::IsValid(), and Name.

◆ getCount()

sal_Int32 SwXStyleFamilies::getCount ( )

Definition at line 896 of file unostyle.cxx.

◆ getElementNames()

uno::Sequence< OUString > SwXStyleFamilies::getElementNames ( )

Definition at line 880 of file unostyle.cxx.

◆ getElementType()

uno::Type SwXStyleFamilies::getElementType ( )

Definition at line 917 of file unostyle.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

OUString SwXStyleFamilies::getImplementationName ( )

Definition at line 848 of file unostyle.cxx.

◆ getStyleLoaderOptions()

uno::Sequence< beans::PropertyValue > SwXStyleFamilies::getStyleLoaderOptions ( )

◆ getSupportedServiceNames()

uno::Sequence< OUString > SwXStyleFamilies::getSupportedServiceNames ( )

Definition at line 856 of file unostyle.cxx.

◆ hasByName()

sal_Bool SwXStyleFamilies::hasByName ( const OUString &  Name)

Definition at line 889 of file unostyle.cxx.

References Name.

◆ hasElements()

sal_Bool SwXStyleFamilies::hasElements ( )

Definition at line 922 of file unostyle.cxx.

◆ loadStylesFromURL()

void SwXStyleFamilies::loadStylesFromURL ( const OUString &  rURL,
const css::uno::Sequence< css::beans::PropertyValue > &  aOptions 

◆ supportsService()

sal_Bool SwXStyleFamilies::supportsService ( const OUString &  ServiceName)

Definition at line 851 of file unostyle.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pDocShell

SwDocShell* SwXStyleFamilies::m_pDocShell

Definition at line 56 of file unostyle.hxx.

Referenced by getByIndex(), and loadStylesFromURL().

◆ m_vFamilies

std::map<SfxStyleFamily, css::uno::Reference<css::container::XNameContainer> > SwXStyleFamilies::m_vFamilies

Definition at line 58 of file unostyle.hxx.

Referenced by getByIndex().

The documentation for this class was generated from the following files: