LibreOffice Module svx (master) 1
|
#include <svdpage.hxx>
Public Member Functions | |
SdrPageProperties (SdrPage &rSdrPage) | |
virtual | ~SdrPageProperties () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual bool | isUsedByModel () const override |
const SfxItemSet & | GetItemSet () const |
void | PutItemSet (const SfxItemSet &rSet) |
void | PutItem (const SfxPoolItem &rItem) |
void | ClearItem (const sal_uInt16 nWhich=0) |
void | SetStyleSheet (SfxStyleSheet *pStyleSheet) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetTheme (std::shared_ptr< model::Theme > const &pTheme) |
std::shared_ptr< model::Theme > const & | GetTheme () const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
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 | ImpRemoveStyleSheet () |
void | ImpAddStyleSheet (SfxStyleSheet &rNewStyleSheet) |
SdrPageProperties & | operator= (const SdrPageProperties &rCandidate)=delete |
void | sendLOKitThemeChangedCallback () |
Private Attributes | |
SdrPage * | mpSdrPage |
SfxStyleSheet * | mpStyleSheet |
std::shared_ptr< model::Theme > | mpTheme |
SfxItemSet | maProperties |
Definition at line 315 of file svdpage.hxx.
SdrPageProperties::SdrPageProperties | ( | SdrPage & | rSdrPage | ) |
Definition at line 1185 of file svdpage.cxx.
References svx::ColorSets::get(), svx::ColorSets::getColorSet(), SdrPage::IsMasterPage(), maProperties, maProperties, mpTheme, SfxItemSet::Put(), and u.
|
overridevirtual |
Definition at line 1209 of file svdpage.cxx.
References ImpRemoveStyleSheet().
void SdrPageProperties::ClearItem | ( | const sal_uInt16 | nWhich = 0 | ) |
Definition at line 1255 of file svdpage.cxx.
References SfxItemSet::ClearItem(), ImpPageChange(), maProperties, and mpSdrPage.
Referenced by SdrUndoDelPage::clearFillBitmap().
void SdrPageProperties::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 1305 of file svdpage.cxx.
References mpTheme.
|
inline |
Definition at line 342 of file svdpage.hxx.
References maProperties.
Referenced by sdr::contact::ViewContactOfMasterPageDescriptor::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), SdrObject::getBackgroundFillSet(), sdr::MasterPageDescriptor::getCorrectSdrPageProperties(), SdrPage::GetPageBackgroundColor(), and SdrPage::lateInit().
|
inline |
Definition at line 349 of file svdpage.hxx.
Referenced by sdr::contact::ViewContactOfMasterPage::createViewIndependentPrimitive2DSequence(), sdr::MasterPageDescriptor::getCorrectSdrPageProperties(), and SdrPage::lateInit().
std::shared_ptr< model::Theme > const & SdrPageProperties::GetTheme | ( | ) | const |
Definition at line 1300 of file svdpage.cxx.
References mpTheme.
|
private |
Definition at line 1166 of file svdpage.cxx.
References SfxStyleSheetBase::GetItemSet(), ImpRemoveStyleSheet(), maProperties, mpStyleSheet, SfxItemSet::SetParent(), and SfxListener::StartListening().
Referenced by SetStyleSheet().
|
private |
Definition at line 1156 of file svdpage.cxx.
References SfxListener::EndListening(), maProperties, mpStyleSheet, and SfxItemSet::SetParent().
Referenced by ImpAddStyleSheet(), Notify(), SetStyleSheet(), and ~SdrPageProperties().
|
overridevirtual |
Definition at line 1234 of file svdpage.cxx.
References SdrPage::IsInserted(), and mpSdrPage.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 1214 of file svdpage.cxx.
References SfxHint::GetId(), ImpPageChange(), ImpRemoveStyleSheet(), and mpSdrPage.
|
privatedelete |
void SdrPageProperties::PutItem | ( | const SfxPoolItem & | rItem | ) |
Definition at line 1248 of file svdpage.cxx.
References ImpPageChange(), SdrPage::IsMasterPage(), maProperties, mpSdrPage, and SfxItemSet::Put().
Referenced by SdrUndoDelPage::restoreFillBitmap().
void SdrPageProperties::PutItemSet | ( | const SfxItemSet & | rSet | ) |
Definition at line 1241 of file svdpage.cxx.
References ImpPageChange(), SdrPage::IsMasterPage(), maProperties, mpSdrPage, SfxItemSet::Put(), and rSet.
|
private |
References Notify().
void SdrPageProperties::SetStyleSheet | ( | SfxStyleSheet * | pStyleSheet | ) |
Definition at line 1261 of file svdpage.cxx.
References ImpAddStyleSheet(), ImpPageChange(), ImpRemoveStyleSheet(), and mpSdrPage.
void SdrPageProperties::SetTheme | ( | std::shared_ptr< model::Theme > const & | pTheme | ) |
Definition at line 1275 of file svdpage.cxx.
References svx::ThemeColorChanger::apply(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdrPage::getSdrModelFromSdrPage(), SdrPage::IsMasterPage(), mpSdrPage, mpTheme, SdrPage::TRG_GetMasterPage(), and SdrPage::TRG_HasMasterPage().
|
private |
Definition at line 322 of file svdpage.hxx.
Referenced by ClearItem(), ImpAddStyleSheet(), ImpRemoveStyleSheet(), PutItem(), PutItemSet(), and SdrPageProperties().
|
private |
Definition at line 319 of file svdpage.hxx.
Referenced by ClearItem(), isUsedByModel(), Notify(), PutItem(), PutItemSet(), SetStyleSheet(), and SetTheme().
|
private |
Definition at line 320 of file svdpage.hxx.
Referenced by ImpAddStyleSheet(), and ImpRemoveStyleSheet().
|
private |
Definition at line 321 of file svdpage.hxx.
Referenced by dumpAsXml(), GetTheme(), SdrPageProperties(), and SetTheme().