LibreOffice Module cui (master) 1
|
#include <cuitabarea.hxx>
Public Member Functions | |
SvxPatternTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxPatternTabPage () override |
void | Construct () |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
virtual void | PointChanged (weld::DrawingArea *, RectPoint eRP) override |
void | SetColorList (XColorListRef const &pColorList) |
void | SetPatternList (XPatternListRef const &pPatternList) |
void | SetPtrnChgd (ChangeType *pIn) |
void | SetColorChgd (ChangeType *pIn) |
void | ChangeColor_Impl () |
Public Member Functions inherited from SvxTabPage | |
SvxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rAttrSet) | |
virtual void | PointChanged (weld::DrawingArea *pArea, RectPoint eRP)=0 |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
Private Member Functions | |
DECL_LINK (ClickAddHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void) | |
DECL_LINK (ChangePatternHdl_Impl, ValueSet *, void) | |
DECL_LINK (ChangeColorHdl_Impl, ColorListBox &, void) | |
DECL_LINK (ClickRenameHdl_Impl, SvxPresetListBox *, void) | |
DECL_LINK (ClickDeleteHdl_Impl, SvxPresetListBox *, void) | |
sal_Int32 | SearchPatternList (std::u16string_view rPatternName) |
Private Attributes | |
const SfxItemSet & | m_rOutAttrs |
XColorListRef | m_pColorList |
XPatternListRef | m_pPatternList |
ChangeType * | m_pnPatternListState |
ChangeType * | m_pnColorListState |
XFillAttrSetItem | m_aXFillAttr |
SfxItemSet & | m_rXFSet |
SvxXRectPreview | m_aCtlPreview |
std::unique_ptr< SvxPixelCtl > | m_xCtlPixel |
std::unique_ptr< ColorListBox > | m_xLbColor |
std::unique_ptr< ColorListBox > | m_xLbBackgroundColor |
std::unique_ptr< SvxPresetListBox > | m_xPatternLB |
std::unique_ptr< weld::Button > | m_xBtnAdd |
std::unique_ptr< weld::Button > | m_xBtnModify |
std::unique_ptr< weld::CustomWeld > | m_xCtlPixelWin |
std::unique_ptr< weld::CustomWeld > | m_xCtlPreview |
std::unique_ptr< weld::CustomWeld > | m_xPatternLBWin |
std::unique_ptr< SvxBitmapCtl > | m_xBitmapCtl |
Definition at line 581 of file cuitabarea.hxx.
SvxPatternTabPage::SvxPatternTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 72 of file tppattern.cxx.
References GetItemSet().
|
overridevirtual |
Definition at line 117 of file tppattern.cxx.
References m_xCtlPixel, m_xCtlPixelWin, m_xCtlPreview, m_xLbBackgroundColor, m_xLbColor, m_xPatternLB, and m_xPatternLBWin.
|
overridevirtual |
Definition at line 133 of file tppattern.cxx.
References aURL, CuiResId(), SfxItemSet::Get(), NameOrIndex::GetName(), SvxAreaTabDialog::GetNewColorList(), XFillBitmapItem::isPattern(), m_pColorList, m_pnColorListState, m_pPatternList, m_xPatternLB, nId, nPos, rSet, SAL_WARN_IF, SearchPatternList(), and XATTR_FILLBITMAP().
void SvxPatternTabPage::ChangeColor_Impl | ( | ) |
Definition at line 506 of file tppattern.cxx.
References m_aCtlPreview, m_aXFillAttr, m_rXFSet, m_xBitmapCtl, m_xCtlPixel, m_xLbBackgroundColor, m_xLbColor, SfxItemSet::Put(), and SvxXRectPreview::SetAttributes().
void SvxPatternTabPage::Construct | ( | ) |
Definition at line 128 of file tppattern.cxx.
References m_pPatternList, and m_xPatternLB.
|
static |
Definition at line 239 of file tppattern.cxx.
References rSet.
Referenced by SvxAreaTabPage::SetOptimalSize().
|
overridevirtual |
Definition at line 179 of file tppattern.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Definition at line 188 of file tppattern.cxx.
References XBitmapEntry::GetGraphicObject(), m_pPatternList, m_xBitmapCtl, m_xPatternLB, nPos, SfxItemSet::Put(), and VALUESET_ITEM_NOTFOUND.
Referenced by DeactivatePage().
|
overridevirtual |
Implements SvxTabPage.
Definition at line 521 of file tppattern.cxx.
References m_aCtlPreview, m_aXFillAttr, m_rXFSet, m_xBitmapCtl, m_xCtlPixel, m_xPatternLB, SfxItemSet::Put(), and SvxXRectPreview::SetAttributes().
|
overridevirtual |
Definition at line 210 of file tppattern.cxx.
References XFillBitmapItem::isPattern(), m_aCtlPreview, m_aXFillAttr, m_pPatternList, m_rXFSet, m_xBitmapCtl, m_xBtnAdd, m_xBtnModify, m_xCtlPixel, m_xLbBackgroundColor, m_xLbColor, m_xPatternLB, SfxItemSet::Put(), and SvxXRectPreview::SetAttributes().
|
private |
Definition at line 536 of file tppattern.cxx.
References i, m_pPatternList, nCount, and nPos.
Referenced by ActivatePage().
|
inline |
Definition at line 634 of file cuitabarea.hxx.
References m_pnColorListState.
|
inline |
Definition at line 631 of file cuitabarea.hxx.
References m_pColorList.
Referenced by SvxAreaTabPage::CreatePage().
|
inline |
Definition at line 632 of file cuitabarea.hxx.
References m_pPatternList.
|
inline |
Definition at line 633 of file cuitabarea.hxx.
References m_pnPatternListState.
|
private |
Definition at line 595 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), PointChanged(), and Reset().
|
private |
Definition at line 592 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), PointChanged(), and Reset().
|
private |
Definition at line 586 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorList().
|
private |
Definition at line 590 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorChgd().
|
private |
Definition at line 589 of file cuitabarea.hxx.
Referenced by SetPtrnChgd().
|
private |
Definition at line 587 of file cuitabarea.hxx.
Referenced by ActivatePage(), Construct(), FillItemSet(), Reset(), SearchPatternList(), and SetPatternList().
|
private |
Definition at line 584 of file cuitabarea.hxx.
|
private |
Definition at line 593 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), PointChanged(), and Reset().
|
private |
Definition at line 605 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), FillItemSet(), PointChanged(), and Reset().
|
private |
Definition at line 600 of file cuitabarea.hxx.
Referenced by Reset().
|
private |
Definition at line 601 of file cuitabarea.hxx.
Referenced by Reset().
|
private |
Definition at line 596 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), PointChanged(), Reset(), and ~SvxPatternTabPage().
|
private |
Definition at line 602 of file cuitabarea.hxx.
Referenced by ~SvxPatternTabPage().
|
private |
Definition at line 603 of file cuitabarea.hxx.
Referenced by ~SvxPatternTabPage().
|
private |
Definition at line 598 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), Reset(), and ~SvxPatternTabPage().
|
private |
Definition at line 597 of file cuitabarea.hxx.
Referenced by ChangeColor_Impl(), Reset(), and ~SvxPatternTabPage().
|
private |
Definition at line 599 of file cuitabarea.hxx.
Referenced by ActivatePage(), Construct(), FillItemSet(), PointChanged(), Reset(), and ~SvxPatternTabPage().
|
private |
Definition at line 604 of file cuitabarea.hxx.
Referenced by ~SvxPatternTabPage().