LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static 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 (TabPageParent pParent, const SfxItemSet &rInAttrs)
 
virtual ~SvxBitmapTabPage () override
 
virtual void dispose () 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
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent, 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, SvtValueSet *, void)
 
 DECL_LINK (ClickScaleHdl, weld::Button &, 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 (const OUString &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
 

Static Private Attributes

static const sal_uInt16 pBitmapRanges []
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 510 of file cuitabarea.hxx.

Constructor & Destructor Documentation

SvxBitmapTabPage::SvxBitmapTabPage ( TabPageParent  pParent,
const SfxItemSet rInAttrs 
)
SvxBitmapTabPage::~SvxBitmapTabPage ( )
overridevirtual

Definition at line 146 of file tpbitmap.cxx.

Member Function Documentation

void SvxBitmapTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
void SvxBitmapTabPage::CalculateBitmapPresetSize ( )
private
void SvxBitmapTabPage::ClickBitmapHdl_Impl ( )
private

Definition at line 438 of file tpbitmap.cxx.

References m_xBitmapLB, m_xBitmapLBWin, and m_xCtlBitmapPreview.

Referenced by Reset().

void SvxBitmapTabPage::Construct ( )

Definition at line 159 of file tpbitmap.cxx.

References m_pBitmapList, and m_xBitmapLB.

VclPtr< SfxTabPage > SvxBitmapTabPage::Create ( TabPageParent  pWindow,
const SfxItemSet rAttrs 
)
static

Definition at line 433 of file tpbitmap.cxx.

References VclPtr< reference_type >::Create().

Referenced by SvxAreaTabPage::SetOptimalSize().

DeactivateRC SvxBitmapTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 187 of file tpbitmap.cxx.

References FillItemSet().

SvxBitmapTabPage::DECL_LINK ( ModifyBitmapHdl  ,
SvtValueSet ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ClickScaleHdl  ,
weld::Button ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ModifyBitmapStyleHdl  ,
weld::ComboBox ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ModifyBitmapSizeHdl  ,
weld::MetricSpinButton ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ModifyBitmapPositionHdl  ,
weld::ComboBox ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ModifyPositionOffsetHdl  ,
weld::MetricSpinButton ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ModifyTileOffsetHdl  ,
weld::MetricSpinButton ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ClickRenameHdl  ,
SvxPresetListBox ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ClickDeleteHdl  ,
SvxPresetListBox ,
void   
)
private
SvxBitmapTabPage::DECL_LINK ( ClickImportHdl  ,
weld::Button ,
void   
)
private
void SvxBitmapTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 151 of file tpbitmap.cxx.

References SfxTabPage::dispose(), m_xBitmapLB, m_xBitmapLBWin, and m_xCtlBitmapPreview.

bool SvxBitmapTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual
void SvxBitmapTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual
sal_Int32 SvxBitmapTabPage::SearchBitmapList ( const OUString &  rBitmapName)
private

Definition at line 815 of file tpbitmap.cxx.

References i, LISTBOX_ENTRY_NOTFOUND, m_pBitmapList, and nPos.

Referenced by ActivatePage().

sal_Int32 SvxBitmapTabPage::SearchBitmapList ( const GraphicObject rGraphicObject)
private

Definition at line 799 of file tpbitmap.cxx.

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

void SvxBitmapTabPage::SetBitmapList ( const XBitmapListRef pBmpLst)
inline

Definition at line 583 of file cuitabarea.hxx.

Referenced by SvxAreaTabPage::CreatePage().

void SvxBitmapTabPage::SetBmpChgd ( ChangeType pIn)
inline

Definition at line 584 of file cuitabarea.hxx.

Member Data Documentation

SvxXRectPreview SvxBitmapTabPage::m_aCtlBitmapPreview
private

Definition at line 535 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

XFillAttrSetItem SvxBitmapTabPage::m_aXFillAttr
private

Definition at line 526 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

bool SvxBitmapTabPage::m_bLogicalSize
private

Definition at line 524 of file cuitabarea.hxx.

Referenced by FillItemSet(), and Reset().

double SvxBitmapTabPage::m_fObjectHeight
private

Definition at line 523 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize(), and Reset().

double SvxBitmapTabPage::m_fObjectWidth
private

Definition at line 522 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize(), and Reset().

XBitmapListRef SvxBitmapTabPage::m_pBitmapList
private

Definition at line 519 of file cuitabarea.hxx.

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

ChangeType* SvxBitmapTabPage::m_pnBitmapListState
private

Definition at line 520 of file cuitabarea.hxx.

const SfxItemSet& SvxBitmapTabPage::m_rOutAttrs
private

Definition at line 517 of file cuitabarea.hxx.

SfxItemSet& SvxBitmapTabPage::m_rXFSet
private

Definition at line 527 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

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

Definition at line 541 of file cuitabarea.hxx.

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

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

Definition at line 552 of file cuitabarea.hxx.

Referenced by ClickBitmapHdl_Impl(), and dispose().

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

Definition at line 537 of file cuitabarea.hxx.

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

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

Definition at line 540 of file cuitabarea.hxx.

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

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

Definition at line 550 of file cuitabarea.hxx.

Referenced by SvxBitmapTabPage().

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

Definition at line 551 of file cuitabarea.hxx.

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

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

Definition at line 542 of file cuitabarea.hxx.

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

Definition at line 543 of file cuitabarea.hxx.

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

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

Definition at line 544 of file cuitabarea.hxx.

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

Definition at line 545 of file cuitabarea.hxx.

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

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

Definition at line 546 of file cuitabarea.hxx.

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

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

Definition at line 538 of file cuitabarea.hxx.

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

Definition at line 547 of file cuitabarea.hxx.

Referenced by FillItemSet().

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

Definition at line 548 of file cuitabarea.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 549 of file cuitabarea.hxx.

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

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

Definition at line 539 of file cuitabarea.hxx.

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

FieldUnit SvxBitmapTabPage::meFieldUnit
private

Definition at line 530 of file cuitabarea.hxx.

Referenced by SvxBitmapTabPage().

MapUnit SvxBitmapTabPage::mePoolUnit
private

Definition at line 529 of file cuitabarea.hxx.

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

const SdrView* SvxBitmapTabPage::mpView
private

Definition at line 528 of file cuitabarea.hxx.

Referenced by Reset(), and SvxBitmapTabPage().

const sal_uInt16 SvxBitmapTabPage::pBitmapRanges
staticprivate
Initial value:
=
{
SID_ATTR_TRANSFORM_WIDTH,
SID_ATTR_TRANSFORM_HEIGHT,
0
}

Definition at line 514 of file cuitabarea.hxx.

Size SvxBitmapTabPage::rBitmapSize
private

Definition at line 531 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize(), and Reset().

Size SvxBitmapTabPage::rFilledSize
private

Definition at line 532 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize().

Size SvxBitmapTabPage::rZoomedSize
private

Definition at line 533 of file cuitabarea.hxx.

Referenced by CalculateBitmapPresetSize().


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