LibreOffice Module sw (master) 1
|
#include <unostyle.hxx>
Public Member Functions | |
SwXAutoStyle (SwDoc *pDoc, std::shared_ptr< SfxItemSet > pInitSet, IStyleAccess::SwAutoStyleFamily eFam) | |
virtual | ~SwXAutoStyle () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
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 | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) 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 |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) 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 css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getProperties () override |
virtual void | Notify (const SfxHint &) override |
Public Member Functions inherited from SvtListener | |
SvtListener ()=default | |
SvtListener (const SvtListener &r)=default | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
void | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Notify (const SfxHint &rHint) |
virtual void | Query (QueryBase &rQuery) const |
Private Member Functions | |
css::uno::Sequence< css::uno::Any > | GetPropertyValues_Impl (const css::uno::Sequence< OUString > &aPropertyNames) |
Private Attributes | |
std::shared_ptr< SfxItemSet > | mpSet |
IStyleAccess::SwAutoStyleFamily | meFamily |
SwDoc & | mrDoc |
Definition at line 172 of file unostyle.hxx.
SwXAutoStyle::SwXAutoStyle | ( | SwDoc * | pDoc, |
std::shared_ptr< SfxItemSet > | pInitSet, | ||
IStyleAccess::SwAutoStyleFamily | eFam | ||
) |
Definition at line 3872 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3884 of file unostyle.cxx.
|
overridevirtual |
Definition at line 4124 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3936 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3946 of file unostyle.cxx.
|
overridevirtual |
Definition at line 4135 of file unostyle.cxx.
|
overridevirtual |
Definition at line 4259 of file unostyle.cxx.
References SfxItemPropertyMapEntry::aName, aSwMapProvider, IStyleAccess::AUTO_STYLE_CHAR, IStyleAccess::AUTO_STYLE_PARA, IStyleAccess::AUTO_STYLE_RUBY, SfxItemIter::GetCurItem(), SfxItemPropertyMap::getPropertyEntries(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), i, meFamily, mpSet, nCount, SfxItemIter::NextItem(), SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, PROPERTY_MAP_CHAR_AUTO_STYLE, PROPERTY_MAP_PARA_AUTO_STYLE, PROPERTY_MAP_RUBY_AUTO_STYLE, SwFormatPageDesc::QueryValue(), rSet, and SfxPoolItem::Which().
|
overridevirtual |
Definition at line 4154 of file unostyle.cxx.
References getPropertyDefaults().
|
overridevirtual |
Definition at line 4253 of file unostyle.cxx.
Referenced by getPropertyDefault().
|
overridevirtual |
Definition at line 3894 of file unostyle.cxx.
References aSwMapProvider, IStyleAccess::AUTO_STYLE_CHAR, IStyleAccess::AUTO_STYLE_PARA, IStyleAccess::AUTO_STYLE_RUBY, SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertySet::getPropertySetInfo(), meFamily, PROPERTY_MAP_CHAR_AUTO_STYLE, PROPERTY_MAP_PARA_AUTO_STYLE, and PROPERTY_MAP_RUBY_AUTO_STYLE.
|
overridevirtual |
Definition at line 4141 of file unostyle.cxx.
References getPropertyStates().
|
overridevirtual |
Definition at line 4160 of file unostyle.cxx.
References aSwMapProvider, IStyleAccess::AUTO_STYLE_CHAR, IStyleAccess::AUTO_STYLE_PARA, IStyleAccess::AUTO_STYLE_RUBY, SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertySet::getPropertyState(), i, meFamily, mpSet, SWUnoHelper::needToMapFillItemsToSvxBrushItemTypes(), SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, OWN_ATTR_FILLBMP_MODE, PROPERTY_MAP_CHAR_AUTO_STYLE, PROPERTY_MAP_PARA_AUTO_STYLE, PROPERTY_MAP_RUBY_AUTO_STYLE, RES_BACKGROUND(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
Referenced by getPropertyState().
|
overridevirtual |
Definition at line 3929 of file unostyle.cxx.
References aProperties, and GetPropertyValues_Impl().
|
overridevirtual |
Definition at line 4099 of file unostyle.cxx.
References cppu::getCaughtException(), and GetPropertyValues_Impl().
|
private |
css::beans::UnknownPropertyException | |
css::lang::WrappedTargetException | |
css::uno::RuntimeException |
Definition at line 3962 of file unostyle.cxx.
References aSwMapProvider, SfxItemPropertyMapEntry::aType, IStyleAccess::AUTO_STYLE_CHAR, IStyleAccess::AUTO_STYLE_PARA, IStyleAccess::AUTO_STYLE_RUBY, SwDoc::GetAttrPool(), SfxItemPropertyMap::getByName(), SfxItemPool::GetMetric(), SfxItemPropertySet::getPropertyMap(), SwUnoPropertyMapProvider::GetPropertySet(), SfxItemPropertySet::getPropertyValue(), getSvxBrushItemFromSourceSet(), i, meFamily, mpSet, mrDoc, StylePool::nameOf(), SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nMoreFlags, nValue, SfxItemPropertyMapEntry::nWID, OWN_ATTR_FILLBMP_MODE, PROPERTY_MAP_CHAR_AUTO_STYLE, PROPERTY_MAP_PARA_AUTO_STYLE, PROPERTY_MAP_RUBY_AUTO_STYLE, pValues, RES_AUTO_STYLE(), RES_BACKGROUND(), RES_TXTATR_AUTOFMT(), sName, SvxUnoConvertToMM(), XATTR_FILLBMP_SIZEX(), XATTR_FILLBMP_SIZEY(), XATTR_FILLBMP_STRETCH(), and XATTR_FILLBMP_TILE().
Referenced by getPropertyValue(), and getPropertyValues().
|
overridevirtual |
Reimplemented from SvtListener.
Definition at line 3888 of file unostyle.cxx.
References SfxHint::GetId(), and mpSet.
|
overridevirtual |
Definition at line 4130 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3941 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3951 of file unostyle.cxx.
|
overridevirtual |
Definition at line 4244 of file unostyle.cxx.
|
overridevirtual |
Definition at line 4248 of file unostyle.cxx.
|
overridevirtual |
Definition at line 4150 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3925 of file unostyle.cxx.
|
overridevirtual |
Definition at line 3956 of file unostyle.cxx.
|
private |
Definition at line 182 of file unostyle.hxx.
Referenced by getProperties(), getPropertySetInfo(), getPropertyStates(), and GetPropertyValues_Impl().
|
private |
Definition at line 181 of file unostyle.hxx.
Referenced by getProperties(), getPropertyStates(), GetPropertyValues_Impl(), and Notify().
|
private |
Definition at line 183 of file unostyle.hxx.
Referenced by GetPropertyValues_Impl().