LibreOffice Module sw (master) 1
|
#include <ThemeColorChanger.hxx>
Public Member Functions | |
ThemeColorChanger (SwDocShell *pDocSh) | |
virtual | ~ThemeColorChanger () override |
void | apply (std::shared_ptr< model::ColorSet > const &pColorSet) override |
Public Member Functions inherited from svx::IThemeColorChanger | |
virtual | ~IThemeColorChanger ()=default |
virtual void | apply (std::shared_ptr< model::ColorSet > const &pColorSet)=0 |
Private Attributes | |
SwDocShell * | mpDocSh |
Definition at line 19 of file ThemeColorChanger.hxx.
sw::ThemeColorChanger::ThemeColorChanger | ( | SwDocShell * | pDocSh | ) |
Definition at line 341 of file ThemeColorChanger.cxx.
|
overridevirtualdefault |
|
overridevirtual |
Implements svx::IThemeColorChanger.
Definition at line 348 of file ThemeColorChanger.cxx.
References sw::ModelTraverser::addNodeHandler(), SfxBroadcaster::Broadcast(), SwDoc::ChgFormat(), SwDoc::ChgPageDesc(), SwAttrSet::Clone(), EMPTY, SfxStyleSheetBasePool::First(), SwFormat::GetAttrSet(), SwDocStyleSheet::GetCharFormat(), SwDocStyleSheet::GetCollection(), SwDocShell::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwDocStyleSheet::GetFrameFormat(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::GetIDocumentUndoRedo(), SdrModel::GetPage(), SwDoc::GetPageDesc(), SwDoc::GetPageDescCnt(), SdrPage::getSdrPageProperties(), SwDocShell::GetStyleSheetPool(), SdrPageProperties::GetTheme(), mpDocSh, SfxStyleSheetBasePool::Next(), nIndex, SwFormat::SetFormatAttr(), SdrPageProperties::SetTheme(), and sw::ModelTraverser::traverse().
Referenced by sw::sidebar::ThemePanel::DoubleClickHdl().
|
private |
Definition at line 22 of file ThemeColorChanger.hxx.
Referenced by apply().