LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | List of all members
SwXPageStyle Class Reference
Inheritance diagram for SwXPageStyle:
[legend]
Collaboration diagram for SwXPageStyle:
[legend]

Public Member Functions

 SwXPageStyle (SfxStyleSheetBasePool &rPool, SwDocShell *pDocSh, const OUString &rStyleName)
 
 SwXPageStyle (SwDocShell *pDocSh)
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
- Public Member Functions inherited from SwXStyle
 SwXStyle (SwDoc *pDoc, SfxStyleFamily eFam, bool bConditional=false)
 
 SwXStyle (SfxStyleSheetBasePool *pPool, SfxStyleFamily eFamily, SwDoc *pDoc, const OUString &rStyleName)
 
virtual ~SwXStyle () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &Name_) override
 
virtual sal_Bool SAL_CALL isUserDefined () override
 
virtual sal_Bool SAL_CALL isInUse () override
 
virtual OUString SAL_CALL getParentStyle () override
 
virtual void SAL_CALL setParentStyle (const OUString &aParentStyle) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &, const css::uno::Reference< css::beans::XPropertyChangeListener > &) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &, const css::uno::Reference< css::beans::XPropertyChangeListener > &) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &, const css::uno::Reference< css::beans::XVetoableChangeListener > &) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &, const css::uno::Reference< css::beans::XVetoableChangeListener > &) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &, const css::uno::Reference< css::beans::XPropertiesChangeListener > &) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &, const css::uno::Reference< css::beans::XPropertiesChangeListener > &) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual void SAL_CALL setAllPropertiesToDefault () override
 
virtual void SAL_CALL setPropertiesToDefault (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyDefaults (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void Notify (const SfxHint &) override
 
const OUString & GetStyleName () const
 
SfxStyleFamily GetFamily () const
 
bool IsDescriptor () const
 
bool IsConditional () const
 
const OUString & GetParentStyleName () const
 
void SetDoc (SwDoc *pDc, SfxStyleSheetBasePool *pPool)
 
SwDocGetDoc () const
 
void Invalidate ()
 
void ApplyDescriptorProperties ()
 
void SetStyleName (const OUString &rSet)
 
void SetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &rBase)
 
void PutItemToSet (const SvxSetItem *pSetItem, const SfxItemPropertySet &rPropSet, const SfxItemPropertySimpleEntry &rEntry, const uno::Any &rVal, SwStyleBase_Impl &rBaseImpl)
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from SvtListener
 SvtListener ()
 
 SvtListener (const SvtListener &r)
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
bool EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Query (QueryBase &rQuery) const
 

Protected Member Functions

void SetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues)
 
css::uno::Sequence< css::uno::Any > GetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames)
 
- Protected Member Functions inherited from SwXStyle
template<sal_uInt16 >
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &, SwStyleBase_Impl &)
 
void SetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues)
 
SfxStyleSheetBaseGetStyleSheetBase ()
 
void PrepareStyleBase (SwStyleBase_Impl &rBase)
 
template<sal_uInt16 >
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, SwStyleBase_Impl &rBase)
 
uno::Any GetStyleProperty_Impl (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, SwStyleBase_Impl &rBase)
 
uno::Any GetPropertyValue_Impl (const SfxItemPropertySet *pPropSet, SwStyleBase_Impl &rBase, const OUString &rPropertyName)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
void SetPropertyValue (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, const uno::Any &rValue, SwStyleBase_Impl &o_rStyleBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &, const SfxItemPropertySet &, SwStyleBase_Impl &rBase)
 
template<>
uno::Any GetStyleProperty (const SfxItemPropertySimpleEntry &rEntry, const SfxItemPropertySet &rPropSet, SwStyleBase_Impl &rBase)
 

Additional Inherited Members

- Static Public Member Functions inherited from SwXStyle
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Protected Attributes inherited from SwXStyle
SfxStyleSheetBasePoolm_pBasePool
 
std::unique_ptr< SwStyleProperties_Implm_pPropertiesImpl
 
css::uno::Reference< css::container::XNameAccess > m_xStyleFamily
 
css::uno::Reference< css::beans::XPropertySetm_xStyleData
 

Detailed Description

Definition at line 429 of file unostyle.cxx.

Constructor & Destructor Documentation

SwXPageStyle::SwXPageStyle ( SfxStyleSheetBasePool rPool,
SwDocShell pDocSh,
const OUString &  rStyleName 
)

Definition at line 2802 of file unostyle.cxx.

References Page.

SwXPageStyle::SwXPageStyle ( SwDocShell pDocSh)
explicit

Definition at line 2806 of file unostyle.cxx.

References Page.

Member Function Documentation

uno::Any SwXPageStyle::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Reimplemented from SwXStyle.

Definition at line 3285 of file unostyle.cxx.

References GetPropertyValues_Impl().

uno::Sequence< uno::Any > SwXPageStyle::getPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Reimplemented from SwXStyle.

Definition at line 3259 of file unostyle.cxx.

References cppu::getCaughtException(), and GetPropertyValues_Impl().

uno::Sequence< uno::Any > SwXPageStyle::GetPropertyValues_Impl ( const css::uno::Sequence< OUString > &  aPropertyNames)
protected

Definition at line 3070 of file unostyle.cxx.

References aSwMapProvider, FN_PARAM_FTN_INFO, FN_UNO_FOOTER, FN_UNO_FOOTER_FIRST, FN_UNO_FOOTER_LEFT, FN_UNO_FOOTER_RIGHT, FN_UNO_HEADER, FN_UNO_HEADER_FIRST, FN_UNO_HEADER_LEFT, FN_UNO_HEADER_RIGHT, SfxItemSet::Get(), SfxItemPropertyMap::getByName(), SwXStyle::GetDoc(), SwPageDesc::GetFirstMaster(), SfxItemSet::GetItemState(), SwPageDesc::GetLeft(), SwPageDesc::GetMaster(), SwStyleBase_Impl::GetOldPageDesc(), SwStyleProperties_Impl::GetProperty(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), SwXStyle::GetStyleName(), SwXStyle::GetStyleProperty_Impl(), SwXStyle::GetStyleSheetBase(), uno::Any::hasValue(), SwXStyle::IsDescriptor(), SwPageDesc::IsFirstShared(), SwPageDesc::IsFooterShared(), SwPageDesc::IsHeaderShared(), lcl_GetHeaderFooterItem(), lcl_makeHeaderFooter(), SwXStyle::m_pBasePool, SwXStyle::m_pPropertiesImpl, SwXStyle::m_xStyleData, nLength, SfxItemPropertySimpleEntry::nMemberId, SfxItemPropertySimpleEntry::nWID, OWN_ATTR_FILLBMP_MODE, PROPERTY_MAP_PAGE_STYLE, SfxPoolItem::QueryValue(), RES_BACKGROUND, RES_BOX, RES_FOOTER, RES_HEADER, RES_HEADER_FOOTER_EAT_SPACING, RES_LR_SPACE, RES_SHADOW, RES_UL_SPACE, UNO_NAME_FIRST_IS_SHARED, XATTR_FILLBACKGROUND, XATTR_FILLBITMAP, XATTR_FILLBMP_POS, XATTR_FILLBMP_POSOFFSETX, XATTR_FILLBMP_POSOFFSETY, XATTR_FILLBMP_SIZELOG, XATTR_FILLBMP_SIZEX, XATTR_FILLBMP_SIZEY, XATTR_FILLBMP_STRETCH, XATTR_FILLBMP_TILE, XATTR_FILLBMP_TILEOFFSETX, XATTR_FILLBMP_TILEOFFSETY, XATTR_FILLCOLOR, XATTR_FILLFLOATTRANSPARENCE, XATTR_FILLGRADIENT, XATTR_FILLHATCH, XATTR_FILLSTYLE, XATTR_FILLTRANSPARENCE, XATTR_GRADIENTSTEPCOUNT, and XATTR_SECONDARYFILLCOLOR.

Referenced by getPropertyValue(), and getPropertyValues().

void SwXPageStyle::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Reimplemented from SwXStyle.

Definition at line 3292 of file unostyle.cxx.

References SetPropertyValues_Impl().

void SwXPageStyle::setPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual

Reimplemented from SwXStyle.

Definition at line 3035 of file unostyle.cxx.

References SetPropertyValues_Impl().

void SwXPageStyle::SetPropertyValues_Impl ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
protected

Definition at line 2833 of file unostyle.cxx.

References aSwMapProvider, SfxPoolItem::Clone(), SvxSetItem::Clone(), IDocumentUndoRedo::DelAllUndoObj(), FN_PARAM_FTN_INFO, FN_UNO_FOOTER, FN_UNO_FOOTER_FIRST, FN_UNO_FOOTER_LEFT, FN_UNO_FOOTER_RIGHT, FN_UNO_HEADER, FN_UNO_HEADER_FIRST, FN_UNO_HEADER_LEFT, FN_UNO_HEADER_RIGHT, SfxItemSet::Get(), SfxItemPropertyMap::getByName(), SwXStyle::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SwStyleBase_Impl::GetItemSet(), SfxItemSet::GetItemState(), SwStyleBase_Impl::getNewBase(), SfxItemSet::GetPool(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), SwXStyle::GetStyleName(), SwXStyle::GetStyleSheetBase(), SwStyleBase_Impl::HasItemSet(), SwXStyle::IsDescriptor(), lcl_GetHeaderFooterItem(), SwXStyle::m_pBasePool, SwXStyle::m_pPropertiesImpl, MM50, SfxItemPropertySimpleEntry::nFlags, SfxItemPropertySimpleEntry::nMemberId, SfxItemPropertySimpleEntry::nWID, OWN_ATTR_FILLBMP_MODE, PROPERTY_MAP_PAGE_STYLE, SfxItemSet::Put(), SwXStyle::PutItemToSet(), RES_BACKGROUND, RES_BOX, RES_FRMATR_BEGIN, RES_FRMATR_END, RES_HEADER_FOOTER_EAT_SPACING, RES_LR_SPACE, RES_SHADOW, RES_UL_SPACE, SwStyleBase_Impl::setNewBase(), SfxItemSet::SetParent(), SwXStyle::SetStyleProperty(), sw::UndoGuard::UndoWasEnabled(), UNO_NAME_FIRST_IS_SHARED, XATTR_FILL_FIRST, XATTR_FILL_LAST, XATTR_FILLBACKGROUND, XATTR_FILLBITMAP, XATTR_FILLBMP_POS, XATTR_FILLBMP_POSOFFSETX, XATTR_FILLBMP_POSOFFSETY, XATTR_FILLBMP_SIZELOG, XATTR_FILLBMP_SIZEX, XATTR_FILLBMP_SIZEY, XATTR_FILLBMP_STRETCH, XATTR_FILLBMP_TILE, XATTR_FILLBMP_TILEOFFSETX, XATTR_FILLBMP_TILEOFFSETY, XATTR_FILLCOLOR, XATTR_FILLFLOATTRANSPARENCE, XATTR_FILLGRADIENT, XATTR_FILLHATCH, XATTR_FILLSTYLE, XATTR_FILLTRANSPARENCE, XATTR_GRADIENTSTEPCOUNT, and XATTR_SECONDARYFILLCOLOR.

Referenced by setPropertyValue(), and setPropertyValues().


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