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 ( )

Definition at line 494 of file unostyle.cxx.

SwXStyleFamilies::SwXStyleFamilies ( SwDocShell rDocShell)

Definition at line 489 of file unostyle.cxx.

Member Function Documentation

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

Definition at line 805 of file unostyle.cxx.

References SwDoc::GetDocShell(), and lcl_GetStyleFamilyEntries().

Referenced by SwXServiceProvider::MakeInstance().

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

Definition at line 814 of file unostyle.cxx.

Referenced by SwXServiceProvider::MakeInstance().

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

Definition at line 531 of file unostyle.cxx.

References SwUnoCollection::IsValid(), lcl_GetStyleFamilyEntries(), and m_vFamilies.

Referenced by getByName().

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

Definition at line 526 of file unostyle.cxx.

References lcl_GetStyleFamilyEntries().

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

Definition at line 510 of file unostyle.cxx.

References lcl_GetStyleFamilyEntries().

uno::Type SwXStyleFamilies::getElementType ( )

Definition at line 547 of file unostyle.cxx.

References cppu::UnoType< class >::get().

OUString SwXStyleFamilies::getImplementationName ( )

Definition at line 478 of file unostyle.cxx.

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

Definition at line 486 of file unostyle.cxx.

sal_Bool SwXStyleFamilies::hasByName ( const OUString &  Name)

Definition at line 519 of file unostyle.cxx.

References lcl_GetStyleFamilyEntries().

sal_Bool SwXStyleFamilies::hasElements ( )

Definition at line 552 of file unostyle.cxx.

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

Definition at line 481 of file unostyle.cxx.

References cppu::supportsService().

Member Data Documentation

SwDocShell* SwXStyleFamilies::m_pDocShell

Definition at line 56 of file unostyle.hxx.

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: