LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxBitmapTabPage Class Reference

#include <cuitabarea.hxx>

Inheritance diagram for SvxBitmapTabPage:
[legend]
Collaboration diagram for SvxBitmapTabPage:
[legend]

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 SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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)
 

Private Attributes

const SfxItemSetm_rOutAttrs
 
XBitmapListRef m_pBitmapList
 
ChangeTypem_pnBitmapListState
 
double m_fObjectWidth
 
double m_fObjectHeight
 
bool m_bLogicalSize
 
XFillAttrSetItem m_aXFillAttr
 
SfxItemSetm_rXFSet
 
const SdrViewmpView
 
MapUnit mePoolUnit
 
FieldUnit meFieldUnit
 
Size rBitmapSize
 
Size rFilledSize
 
Size rZoomedSize
 
SvxXRectPreview m_aCtlBitmapPreview
 
std::unique_ptr< SvxPresetListBoxm_xBitmapLB
 
std::unique_ptr< weld::ComboBoxm_xBitmapStyleLB
 
std::unique_ptr< weld::Containerm_xSizeBox
 
std::unique_ptr< weld::CheckButtonm_xTsbScale
 
std::unique_ptr< weld::MetricSpinButtonm_xBitmapWidth
 
std::unique_ptr< weld::MetricSpinButtonm_xBitmapHeight
 
std::unique_ptr< weld::Containerm_xPositionBox
 
std::unique_ptr< weld::ComboBoxm_xPositionLB
 
std::unique_ptr< weld::Containerm_xPositionOffBox
 
std::unique_ptr< weld::MetricSpinButtonm_xPositionOffX
 
std::unique_ptr< weld::MetricSpinButtonm_xPositionOffY
 
std::unique_ptr< weld::Containerm_xTileOffBox
 
std::unique_ptr< weld::ComboBoxm_xTileOffLB
 
std::unique_ptr< weld::MetricSpinButtonm_xTileOffset
 
std::unique_ptr< weld::Buttonm_xBtnImport
 
std::unique_ptr< weld::CustomWeldm_xCtlBitmapPreview
 
std::unique_ptr< weld::CustomWeldm_xBitmapLBWin
 

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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 506 of file cuitabarea.hxx.

Constructor & Destructor Documentation

◆ SvxBitmapTabPage()

SvxBitmapTabPage::SvxBitmapTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)

◆ ~SvxBitmapTabPage()

SvxBitmapTabPage::~SvxBitmapTabPage ( )
overridevirtual

Definition at line 138 of file tpbitmap.cxx.

References m_xBitmapLB, m_xBitmapLBWin, and m_xCtlBitmapPreview.

Member Function Documentation

◆ ActivatePage()

void SvxBitmapTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ CalculateBitmapPresetSize()

void SvxBitmapTabPage::CalculateBitmapPresetSize ( )
private

◆ ClickBitmapHdl_Impl()

void SvxBitmapTabPage::ClickBitmapHdl_Impl ( )
private

Definition at line 420 of file tpbitmap.cxx.

References m_xBitmapLB, m_xBitmapLBWin, and m_xCtlBitmapPreview.

Referenced by Reset().

◆ Construct()

void SvxBitmapTabPage::Construct ( )

Definition at line 145 of file tpbitmap.cxx.

References m_pBitmapList, and m_xBitmapLB.

◆ Create()

std::unique_ptr< SfxTabPage > SvxBitmapTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrs 
)
static

Definition at line 415 of file tpbitmap.cxx.

Referenced by SvxAreaTabPage::SetOptimalSize().

◆ DeactivatePage()

DeactivateRC SvxBitmapTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 173 of file tpbitmap.cxx.

References FillItemSet().

◆ DECL_LINK() [1/10]

SvxBitmapTabPage::DECL_LINK ( ClickDeleteHdl  ,
SvxPresetListBox ,
void   
)
private

◆ DECL_LINK() [2/10]

SvxBitmapTabPage::DECL_LINK ( ClickImportHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/10]

SvxBitmapTabPage::DECL_LINK ( ClickRenameHdl  ,
SvxPresetListBox ,
void   
)
private

◆ DECL_LINK() [4/10]

SvxBitmapTabPage::DECL_LINK ( ClickScaleHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/10]

SvxBitmapTabPage::DECL_LINK ( ModifyBitmapHdl  ,
ValueSet ,
void   
)
private

◆ DECL_LINK() [6/10]

SvxBitmapTabPage::DECL_LINK ( ModifyBitmapPositionHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [7/10]

SvxBitmapTabPage::DECL_LINK ( ModifyBitmapSizeHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [8/10]

SvxBitmapTabPage::DECL_LINK ( ModifyBitmapStyleHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [9/10]

SvxBitmapTabPage::DECL_LINK ( ModifyPositionOffsetHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [10/10]

SvxBitmapTabPage::DECL_LINK ( ModifyTileOffsetHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ FillItemSet()

bool SvxBitmapTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ Reset()

void SvxBitmapTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SearchBitmapList() [1/2]

sal_Int32 SvxBitmapTabPage::SearchBitmapList ( const GraphicObject rGraphicObject)
private

Definition at line 787 of file tpbitmap.cxx.

References GraphicObject::GetUniqueID(), i, m_pBitmapList, nCount, and nPos.

◆ SearchBitmapList() [2/2]

sal_Int32 SvxBitmapTabPage::SearchBitmapList ( std::u16string_view  rBitmapName)
private

Definition at line 803 of file tpbitmap.cxx.

References i, m_pBitmapList, nCount, and nPos.

Referenced by ActivatePage().

◆ SetBitmapList()

void SvxBitmapTabPage::SetBitmapList ( const XBitmapListRef pBmpLst)
inline

Definition at line 575 of file cuitabarea.hxx.

References m_pBitmapList.

Referenced by SvxAreaTabPage::CreatePage().

◆ SetBmpChgd()

void SvxBitmapTabPage::SetBmpChgd ( ChangeType pIn)
inline

Definition at line 576 of file cuitabarea.hxx.

References m_pnBitmapListState.

Member Data Documentation

◆ m_aCtlBitmapPreview

SvxXRectPreview SvxBitmapTabPage::m_aCtlBitmapPreview
private

Definition at line 528 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

◆ m_aXFillAttr

XFillAttrSetItem SvxBitmapTabPage::m_aXFillAttr
private

Definition at line 519 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

◆ m_bLogicalSize

bool SvxBitmapTabPage::m_bLogicalSize
private

Definition at line 517 of file cuitabarea.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_fObjectHeight

double SvxBitmapTabPage::m_fObjectHeight
private

Definition at line 516 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize(), and Reset().

◆ m_fObjectWidth

double SvxBitmapTabPage::m_fObjectWidth
private

Definition at line 515 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize(), and Reset().

◆ m_pBitmapList

XBitmapListRef SvxBitmapTabPage::m_pBitmapList
private

Definition at line 512 of file cuitabarea.hxx.

Referenced by Construct(), FillItemSet(), SearchBitmapList(), and SetBitmapList().

◆ m_pnBitmapListState

ChangeType* SvxBitmapTabPage::m_pnBitmapListState
private

Definition at line 513 of file cuitabarea.hxx.

Referenced by SetBmpChgd().

◆ m_rOutAttrs

const SfxItemSet& SvxBitmapTabPage::m_rOutAttrs
private

Definition at line 510 of file cuitabarea.hxx.

◆ m_rXFSet

SfxItemSet& SvxBitmapTabPage::m_rXFSet
private

Definition at line 520 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

◆ m_xBitmapHeight

std::unique_ptr<weld::MetricSpinButton> SvxBitmapTabPage::m_xBitmapHeight
private

Definition at line 534 of file cuitabarea.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xBitmapLB

std::unique_ptr<SvxPresetListBox> SvxBitmapTabPage::m_xBitmapLB
private

◆ m_xBitmapLBWin

std::unique_ptr<weld::CustomWeld> SvxBitmapTabPage::m_xBitmapLBWin
private

Definition at line 545 of file cuitabarea.hxx.

Referenced by ClickBitmapHdl_Impl(), and ~SvxBitmapTabPage().

◆ m_xBitmapStyleLB

std::unique_ptr<weld::ComboBox> SvxBitmapTabPage::m_xBitmapStyleLB
private

Definition at line 530 of file cuitabarea.hxx.

Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xBitmapWidth

std::unique_ptr<weld::MetricSpinButton> SvxBitmapTabPage::m_xBitmapWidth
private

Definition at line 533 of file cuitabarea.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xBtnImport

std::unique_ptr<weld::Button> SvxBitmapTabPage::m_xBtnImport
private

Definition at line 543 of file cuitabarea.hxx.

Referenced by SvxBitmapTabPage().

◆ m_xCtlBitmapPreview

std::unique_ptr<weld::CustomWeld> SvxBitmapTabPage::m_xCtlBitmapPreview
private

Definition at line 544 of file cuitabarea.hxx.

Referenced by ClickBitmapHdl_Impl(), Reset(), SvxBitmapTabPage(), and ~SvxBitmapTabPage().

◆ m_xPositionBox

std::unique_ptr<weld::Container> SvxBitmapTabPage::m_xPositionBox
private

Definition at line 535 of file cuitabarea.hxx.

◆ m_xPositionLB

std::unique_ptr<weld::ComboBox> SvxBitmapTabPage::m_xPositionLB
private

Definition at line 536 of file cuitabarea.hxx.

Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xPositionOffBox

std::unique_ptr<weld::Container> SvxBitmapTabPage::m_xPositionOffBox
private

Definition at line 537 of file cuitabarea.hxx.

◆ m_xPositionOffX

std::unique_ptr<weld::MetricSpinButton> SvxBitmapTabPage::m_xPositionOffX
private

Definition at line 538 of file cuitabarea.hxx.

Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xPositionOffY

std::unique_ptr<weld::MetricSpinButton> SvxBitmapTabPage::m_xPositionOffY
private

Definition at line 539 of file cuitabarea.hxx.

Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xSizeBox

std::unique_ptr<weld::Container> SvxBitmapTabPage::m_xSizeBox
private

Definition at line 531 of file cuitabarea.hxx.

◆ m_xTileOffBox

std::unique_ptr<weld::Container> SvxBitmapTabPage::m_xTileOffBox
private

Definition at line 540 of file cuitabarea.hxx.

Referenced by FillItemSet().

◆ m_xTileOffLB

std::unique_ptr<weld::ComboBox> SvxBitmapTabPage::m_xTileOffLB
private

Definition at line 541 of file cuitabarea.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xTileOffset

std::unique_ptr<weld::MetricSpinButton> SvxBitmapTabPage::m_xTileOffset
private

Definition at line 542 of file cuitabarea.hxx.

Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ m_xTsbScale

std::unique_ptr<weld::CheckButton> SvxBitmapTabPage::m_xTsbScale
private

Definition at line 532 of file cuitabarea.hxx.

Referenced by FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ meFieldUnit

FieldUnit SvxBitmapTabPage::meFieldUnit
private

Definition at line 523 of file cuitabarea.hxx.

Referenced by SvxBitmapTabPage().

◆ mePoolUnit

MapUnit SvxBitmapTabPage::mePoolUnit
private

Definition at line 522 of file cuitabarea.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SvxBitmapTabPage().

◆ mpView

const SdrView* SvxBitmapTabPage::mpView
private

Definition at line 521 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

◆ rBitmapSize

Size SvxBitmapTabPage::rBitmapSize
private

Definition at line 524 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize(), and Reset().

◆ rFilledSize

Size SvxBitmapTabPage::rFilledSize
private

Definition at line 525 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize().

◆ rZoomedSize

Size SvxBitmapTabPage::rZoomedSize
private

Definition at line 526 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize().


The documentation for this class was generated from the following files: