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

#include <SmartTagItem.hxx>

Inheritance diagram for SvxSmartTagItem:
[legend]
Collaboration diagram for SvxSmartTagItem:
[legend]

Public Member Functions

 SvxSmartTagItem (const TypedWhichId< SvxSmartTagItem > nId, const css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > > &rActionComponentsSequence, const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &rActionIndicesSequence, const css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > &rStringKeyMaps, css::uno::Reference< css::text::XTextRange > xRange, css::uno::Reference< css::frame::XController > xController, css::lang::Locale aLocale, OUString aApplicationName, OUString aRangeText)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SvxSmartTagItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
const css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > > & GetActionComponentsSequence () const
 
const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > & GetActionIndicesSequence () const
 
const css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > & GetStringKeyMaps () const
 
const css::uno::Reference< css::text::XTextRange > & GetTextRange () const
 
const css::uno::Reference< css::frame::XController > & GetController () const
 
const css::lang::Locale & GetLocale () const
 
const OUString & GetApplicationName () const
 
const OUString & GetRangeText () const
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Attributes

const css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > > maActionComponentsSequence
 
const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > maActionIndicesSequence
 
const css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > maStringKeyMaps
 
const css::uno::Reference< css::text::XTextRange > mxRange
 
const css::uno::Reference< css::frame::XController > mxController
 
const css::lang::Locale maLocale
 
const OUString maApplicationName
 
const OUString maRangeText
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 39 of file SmartTagItem.hxx.

Constructor & Destructor Documentation

◆ SvxSmartTagItem()

SvxSmartTagItem::SvxSmartTagItem ( const TypedWhichId< SvxSmartTagItem nId,
const css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > > &  rActionComponentsSequence,
const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &  rActionIndicesSequence,
const css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > &  rStringKeyMaps,
css::uno::Reference< css::text::XTextRange >  xRange,
css::uno::Reference< css::frame::XController >  xController,
css::lang::Locale  aLocale,
OUString  aApplicationName,
OUString  aRangeText 
)

Definition at line 33 of file SmartTagItem.cxx.

References nId, and xController.

Referenced by Clone().

Member Function Documentation

◆ Clone()

SvxSmartTagItem * SvxSmartTagItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 92 of file SmartTagItem.cxx.

References SvxSmartTagItem().

◆ CreateDefault()

SfxPoolItem * SvxSmartTagItem::CreateDefault ( )
static

Definition at line 31 of file SmartTagItem.cxx.

References SAL_WARN.

◆ GetActionComponentsSequence()

const css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > > & SvxSmartTagItem::GetActionComponentsSequence ( ) const
inline

Definition at line 69 of file SmartTagItem.hxx.

◆ GetActionIndicesSequence()

const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > & SvxSmartTagItem::GetActionIndicesSequence ( ) const
inline

Definition at line 70 of file SmartTagItem.hxx.

◆ GetApplicationName()

const OUString & SvxSmartTagItem::GetApplicationName ( ) const
inline

Definition at line 75 of file SmartTagItem.hxx.

◆ GetController()

const css::uno::Reference< css::frame::XController > & SvxSmartTagItem::GetController ( ) const
inline

Definition at line 73 of file SmartTagItem.hxx.

◆ GetLocale()

const css::lang::Locale & SvxSmartTagItem::GetLocale ( ) const
inline

Definition at line 74 of file SmartTagItem.hxx.

◆ GetRangeText()

const OUString & SvxSmartTagItem::GetRangeText ( ) const
inline

Definition at line 76 of file SmartTagItem.hxx.

◆ GetStringKeyMaps()

const css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > & SvxSmartTagItem::GetStringKeyMaps ( ) const
inline

Definition at line 71 of file SmartTagItem.hxx.

◆ GetTextRange()

const css::uno::Reference< css::text::XTextRange > & SvxSmartTagItem::GetTextRange ( ) const
inline

Definition at line 72 of file SmartTagItem.hxx.

◆ operator==()

bool SvxSmartTagItem::operator== ( const SfxPoolItem rAttr) const
overridevirtual

◆ PutValue()

bool SvxSmartTagItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 70 of file SmartTagItem.cxx.

◆ QueryValue()

bool SvxSmartTagItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Member Data Documentation

◆ maActionComponentsSequence

const css::uno::Sequence< css::uno::Sequence< css::uno::Reference< css::smarttags::XSmartTagAction > > > SvxSmartTagItem::maActionComponentsSequence
private

Definition at line 41 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().

◆ maActionIndicesSequence

const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > SvxSmartTagItem::maActionIndicesSequence
private

Definition at line 42 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().

◆ maApplicationName

const OUString SvxSmartTagItem::maApplicationName
private

Definition at line 47 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().

◆ maLocale

const css::lang::Locale SvxSmartTagItem::maLocale
private

Definition at line 46 of file SmartTagItem.hxx.

Referenced by QueryValue().

◆ maRangeText

const OUString SvxSmartTagItem::maRangeText
private

Definition at line 48 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().

◆ maStringKeyMaps

const css::uno::Sequence< css::uno::Reference< css::container::XStringKeyMap > > SvxSmartTagItem::maStringKeyMaps
private

Definition at line 43 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().

◆ mxController

const css::uno::Reference<css::frame::XController> SvxSmartTagItem::mxController
private

Definition at line 45 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().

◆ mxRange

const css::uno::Reference<css::text::XTextRange> SvxSmartTagItem::mxRange
private

Definition at line 44 of file SmartTagItem.hxx.

Referenced by operator==(), and QueryValue().


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