LibreOffice Module cui (master) 1
|
#include <cuitabarea.hxx>
Public Member Functions | |
SvxBitmapTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxBitmapTabPage () 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 |
void | SetBitmapList (const XBitmapListRef &pBmpLst) |
void | SetBmpChgd (ChangeType *pIn) |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
DECL_LINK (ModifyBitmapHdl, ValueSet *, void) | |
DECL_LINK (ClickScaleHdl, weld::Toggleable &, void) | |
DECL_LINK (ModifyBitmapStyleHdl, weld::ComboBox &, void) | |
DECL_LINK (ModifyBitmapSizeHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifyBitmapPositionHdl, weld::ComboBox &, void) | |
DECL_LINK (ModifyPositionOffsetHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifyTileOffsetHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ClickRenameHdl, SvxPresetListBox *, void) | |
DECL_LINK (ClickDeleteHdl, SvxPresetListBox *, void) | |
DECL_LINK (ClickImportHdl, weld::Button &, void) | |
void | ClickBitmapHdl_Impl () |
void | CalculateBitmapPresetSize () |
sal_Int32 | SearchBitmapList (std::u16string_view rBitmapName) |
sal_Int32 | SearchBitmapList (const GraphicObject &rGraphicObject) |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 506 of file cuitabarea.hxx.
SvxBitmapTabPage::SvxBitmapTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 69 of file tpbitmap.cxx.
References SfxViewShell::Current(), DBG_ASSERT, getDrawPreviewOptimalSize(), SfxViewShell::GetDrawView(), GetItemSet(), SfxItemPool::GetMetric(), GetModuleFieldUnit(), SfxItemSet::GetPool(), Size::Height(), comphelper::LibreOfficeKit::isActive(), LINK, m_aCtlBitmapPreview, m_aXFillAttr, m_rXFSet, m_xBitmapHeight, m_xBitmapLB, m_xBitmapStyleLB, m_xBitmapWidth, m_xBtnImport, m_xCtlBitmapPreview, m_xPositionLB, m_xPositionOffX, m_xPositionOffY, m_xTileOffset, m_xTsbScale, meFieldUnit, mePoolUnit, mpView, mpView, PERCENT(), SfxItemSet::Put(), SvxXRectPreview::SetAttributes(), SetFieldUnit(), WB_FLATVALUESET, WB_NO_DIRECTSELECT, WB_TABSTOP, Size::Width(), and XATTR_FILLBMP_SIZEX().
|
overridevirtual |
Definition at line 138 of file tpbitmap.cxx.
References m_xBitmapLB, m_xBitmapLBWin, and m_xCtlBitmapPreview.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 150 of file tpbitmap.cxx.
References SfxItemSet::Get(), GetCoreValue(), XFillBitmapItem::GetGraphicObject(), XFillBitmapItem::isPattern(), m_xBitmapHeight, m_xBitmapLB, m_xBitmapWidth, mePoolUnit, nId, nPos, Put, rSet, SearchBitmapList(), and XATTR_FILLBITMAP().
|
private |
Definition at line 428 of file tpbitmap.cxx.
References Size::Height(), Size::IsEmpty(), m_fObjectHeight, m_fObjectWidth, rBitmapSize, rFilledSize, rZoomedSize, Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by Reset().
|
private |
Definition at line 420 of file tpbitmap.cxx.
References m_xBitmapLB, m_xBitmapLBWin, and m_xCtlBitmapPreview.
Referenced by Reset().
void SvxBitmapTabPage::Construct | ( | ) |
Definition at line 145 of file tpbitmap.cxx.
References m_pBitmapList, and m_xBitmapLB.
|
static |
Definition at line 415 of file tpbitmap.cxx.
Referenced by SvxAreaTabPage::SetOptimalSize().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 173 of file tpbitmap.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 182 of file tpbitmap.cxx.
References COLUMN, CUSTOM, GetCoreValue(), XBitmapEntry::GetGraphicObject(), Size::Height(), m_bLogicalSize, m_pBitmapList, m_xBitmapHeight, m_xBitmapLB, m_xBitmapStyleLB, m_xBitmapWidth, m_xPositionLB, m_xPositionOffX, m_xPositionOffY, m_xTileOffBox, m_xTileOffLB, m_xTileOffset, m_xTsbScale, mePoolUnit, nPos, SfxItemSet::Put(), ROW, Size::setHeight(), Size::setWidth(), TRISTATE_TRUE, VALUESET_ITEM_NOTFOUND, and Size::Width().
Referenced by DeactivatePage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 256 of file tpbitmap.cxx.
References SdrMarkView::AreObjectsMarked(), CalculateBitmapPresetSize(), ClickBitmapHdl_Impl(), COLUMN, CUSTOM, SfxItemSet::Get(), Application::GetDefaultDevice(), SdrEditView::GetGeoAttrFromMarked(), XFillBitmapItem::GetGraphicObject(), SfxTabPage::GetItem(), SfxItemSet::GetItemState(), SdrPaintView::GetModel(), BitmapEx::GetSizePixel(), SdrModel::GetUIScale(), GetValue(), Size::Height(), Size::IsEmpty(), XFillBitmapItem::isPattern(), OutputDevice::LogicToLogic(), m_aCtlBitmapPreview, m_aXFillAttr, m_bLogicalSize, m_fObjectHeight, m_fObjectWidth, m_rXFSet, m_xBitmapHeight, m_xBitmapStyleLB, m_xBitmapWidth, m_xCtlBitmapPreview, m_xPositionLB, m_xPositionOffX, m_xPositionOffY, m_xTileOffLB, m_xTileOffset, m_xTsbScale, mePoolUnit, mpView, nValue, OutputDevice::PixelToLogic(), SfxItemSet::Put(), rBitmapSize, ROW, SvxXRectPreview::SetAttributes(), SetMetricValue(), TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, Size::Width(), XATTR_FILLBITMAP(), XATTR_FILLBMP_POS(), XATTR_FILLBMP_POSOFFSETX(), XATTR_FILLBMP_POSOFFSETY(), XATTR_FILLBMP_SIZELOG(), XATTR_FILLBMP_SIZEX(), XATTR_FILLBMP_SIZEY(), XATTR_FILLBMP_STRETCH(), XATTR_FILLBMP_TILE(), XATTR_FILLBMP_TILEOFFSETX(), and XATTR_FILLBMP_TILEOFFSETY().
|
private |
Definition at line 787 of file tpbitmap.cxx.
References GraphicObject::GetUniqueID(), i, m_pBitmapList, nCount, and nPos.
|
private |
Definition at line 803 of file tpbitmap.cxx.
References i, m_pBitmapList, nCount, and nPos.
Referenced by ActivatePage().
|
inline |
Definition at line 575 of file cuitabarea.hxx.
References m_pBitmapList.
Referenced by SvxAreaTabPage::CreatePage().
|
inline |
Definition at line 576 of file cuitabarea.hxx.
References m_pnBitmapListState.
|
private |
Definition at line 528 of file cuitabarea.hxx.
Referenced by Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 519 of file cuitabarea.hxx.
Referenced by Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 517 of file cuitabarea.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 516 of file cuitabarea.hxx.
Referenced by CalculateBitmapPresetSize(), and Reset().
|
private |
Definition at line 515 of file cuitabarea.hxx.
Referenced by CalculateBitmapPresetSize(), and Reset().
|
private |
Definition at line 512 of file cuitabarea.hxx.
Referenced by Construct(), FillItemSet(), SearchBitmapList(), and SetBitmapList().
|
private |
Definition at line 513 of file cuitabarea.hxx.
Referenced by SetBmpChgd().
|
private |
Definition at line 510 of file cuitabarea.hxx.
|
private |
Definition at line 520 of file cuitabarea.hxx.
Referenced by Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 534 of file cuitabarea.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 529 of file cuitabarea.hxx.
Referenced by ActivatePage(), ClickBitmapHdl_Impl(), Construct(), FillItemSet(), SvxBitmapTabPage(), and ~SvxBitmapTabPage().
|
private |
Definition at line 545 of file cuitabarea.hxx.
Referenced by ClickBitmapHdl_Impl(), and ~SvxBitmapTabPage().
|
private |
Definition at line 530 of file cuitabarea.hxx.
Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 533 of file cuitabarea.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 543 of file cuitabarea.hxx.
Referenced by SvxBitmapTabPage().
|
private |
Definition at line 544 of file cuitabarea.hxx.
Referenced by ClickBitmapHdl_Impl(), Reset(), SvxBitmapTabPage(), and ~SvxBitmapTabPage().
|
private |
Definition at line 535 of file cuitabarea.hxx.
|
private |
Definition at line 536 of file cuitabarea.hxx.
Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 537 of file cuitabarea.hxx.
|
private |
Definition at line 538 of file cuitabarea.hxx.
Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 539 of file cuitabarea.hxx.
Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 531 of file cuitabarea.hxx.
|
private |
Definition at line 540 of file cuitabarea.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 541 of file cuitabarea.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 542 of file cuitabarea.hxx.
Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 532 of file cuitabarea.hxx.
Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 523 of file cuitabarea.hxx.
Referenced by SvxBitmapTabPage().
|
private |
Definition at line 522 of file cuitabarea.hxx.
Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 521 of file cuitabarea.hxx.
Referenced by Reset(), and SvxBitmapTabPage().
|
private |
Definition at line 524 of file cuitabarea.hxx.
Referenced by CalculateBitmapPresetSize(), and Reset().
|
private |
Definition at line 525 of file cuitabarea.hxx.
Referenced by CalculateBitmapPresetSize().
|
private |
Definition at line 526 of file cuitabarea.hxx.
Referenced by CalculateBitmapPresetSize().