LibreOffice Module sc (master) 1
|
#include <defltuno.hxx>
Public Member Functions | |
ScDocDefaultsObj (ScDocShell *pDocSh) | |
virtual | ~ScDocDefaultsObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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 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 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 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 |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Private Member Functions | |
void | ItemsChanged () |
Private Attributes | |
ScDocShell * | pDocShell |
SfxItemPropertyMap | aPropertyMap |
Definition at line 31 of file defltuno.hxx.
ScDocDefaultsObj::ScDocDefaultsObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 74 of file defltuno.cxx.
|
overridevirtual |
Definition at line 81 of file defltuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 310 of file defltuno.cxx.
References aPropertyMap, SfxItemPropertyMap::getByName(), ScDocShell::GetDocument(), SfxItemPool::GetItem2Default(), ScDocument::GetPool(), SfxItemPropertyMapEntry::nMemberId, SfxItemPropertyMapEntry::nWID, pDocShell, and SfxPoolItem::QueryValue().
|
overridevirtual |
Definition at line 109 of file defltuno.cxx.
References aPropertyMap.
|
overridevirtual |
Definition at line 245 of file defltuno.cxx.
References ATTR_CJK_FONT(), ATTR_CTL_FONT(), ATTR_FONT(), SfxItemPool::GetPoolDefaultItem(), and SfxItemPropertyMapEntry::nWID.
|
overridevirtual |
Definition at line 278 of file defltuno.cxx.
|
overridevirtual |
Definition at line 197 of file defltuno.cxx.
References aPropertyMap, SfxItemPropertyMap::getByName(), SfxItemPool::GetDefaultItem(), ScDocument::GetDocOptions(), ScDocShell::GetDocument(), ScDocument::GetPool(), ScDocOptions::GetStdPrecision(), ScDocOptions::GetTabDistance(), SfxItemPropertyMapEntry::nMemberId, nValue, SfxItemPropertyMapEntry::nWID, pDocShell, SfxPoolItem::QueryValue(), SC_UNO_STANDARDDEC, SC_UNO_TABSTOPDIS, and sc::TwipsToEvenHMM().
|
overridevirtual |
|
private |
if not in XML import, adjust row heights
Definition at line 97 of file defltuno.cxx.
References ScDocShell::GetDocument(), Grid, MAXTAB, pDocShell, and ScDocShell::PostPaint().
Referenced by setPropertyToDefault(), and setPropertyValue().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 89 of file defltuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Definition at line 290 of file defltuno.cxx.
References aPropertyMap, SfxItemPropertyMap::getByName(), ScDocShell::GetDocument(), ScDocument::GetPool(), ItemsChanged(), SfxItemPropertyMapEntry::nWID, pDocShell, and SfxItemPool::ResetPoolDefaultItem().
|
overridevirtual |
Definition at line 117 of file defltuno.cxx.
References aPropertyMap, ATTR_CJK_FONT_LANGUAGE(), ATTR_CTL_FONT_LANGUAGE(), ATTR_FONT_LANGUAGE(), SfxPoolItem::Clone(), LanguageTag::convertToLanguageType(), SfxItemPropertyMap::getByName(), SfxItemPool::GetDefaultItem(), ScDocument::GetDocOptions(), ScDocShell::GetDocument(), ScDocument::GetLanguage(), ScDocument::GetPool(), ItemsChanged(), LANGUAGE_NONE, o3tl::mm100, SfxItemPropertyMapEntry::nMemberId, nValue, SfxItemPropertyMapEntry::nWID, pDocShell, SC_UNO_STANDARDDEC, SC_UNO_TABSTOPDIS, ScDocument::SetDocOptions(), ScDocument::SetLanguage(), SfxItemPool::SetPoolDefaultItem(), ScDocOptions::SetStdPrecision(), ScDocOptions::SetTabDistance(), and o3tl::toTwips().
|
overridevirtual |
|
private |
Definition at line 39 of file defltuno.hxx.
Referenced by getPropertyDefault(), getPropertySetInfo(), getPropertyValue(), setPropertyToDefault(), and setPropertyValue().
|
private |
Definition at line 38 of file defltuno.hxx.
Referenced by getPropertyDefault(), getPropertyValue(), ItemsChanged(), Notify(), setPropertyToDefault(), setPropertyValue(), and ~ScDocDefaultsObj().