LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwCaptionOptPage Class Referencefinal

#include <optload.hxx>

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

Public Member Functions

 SwCaptionOptPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwCaptionOptPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
- 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 *rAttrSet)
 
- 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 (SelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelectListBoxHdl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyEntryHdl, weld::Entry &, void)
 
 DECL_LINK (ModifyComboHdl, weld::ComboBox &, void)
 
 DECL_LINK (OrderHdl, weld::ComboBox &, void)
 
 DECL_LINK (ShowEntryHdl, weld::TreeView &, void)
 
 DECL_LINK (ToggleEntryHdl, const weld::TreeView::iter_col &, void)
 
 DECL_LINK (TextFilterHdl, OUString &, bool)
 
void ModifyHdl ()
 
void UpdateEntry (int nRow)
 
void DelUserData ()
 
void SetOptions (const sal_uLong nPos, const SwCapObjType eType, const SvGlobalName *pOleId=nullptr)
 
void SaveEntry (int nEntry)
 
void InvalidatePreview ()
 

Private Attributes

OUString m_sSWTable
 
OUString m_sSWFrame
 
OUString m_sSWGraphic
 
OUString m_sOLE
 
OUString m_sIllustration
 
OUString m_sTable
 
OUString m_sText
 
OUString m_sDrawing
 
OUString m_sBegin
 
OUString m_sEnd
 
OUString m_sAbove
 
OUString m_sBelow
 
OUString m_sNone
 
int m_nPrevSelectedEntry
 
std::unique_ptr< SwFieldMgrm_pMgr
 
bool m_bHTMLMode
 
TextFilterAutoConvert m_aTextFilter
 
SwCaptionPreview m_aPreview
 
std::unique_ptr< weld::TreeViewm_xCheckLB
 
std::unique_ptr< weld::ComboBoxm_xLbCaptionOrder
 
std::unique_ptr< weld::Widgetm_xSettingsGroup
 
std::unique_ptr< weld::ComboBoxm_xCategoryBox
 
std::unique_ptr< weld::Labelm_xFormatText
 
std::unique_ptr< weld::ComboBoxm_xFormatBox
 
std::unique_ptr< weld::Labelm_xNumberingSeparatorFT
 
std::unique_ptr< weld::Entrym_xNumberingSeparatorED
 
std::unique_ptr< weld::Labelm_xTextText
 
std::unique_ptr< weld::Entrym_xTextEdit
 
std::unique_ptr< weld::ComboBoxm_xPosBox
 
std::unique_ptr< weld::Widgetm_xNumCapt
 
std::unique_ptr< weld::ComboBoxm_xLbLevel
 
std::unique_ptr< weld::Entrym_xEdDelim
 
std::unique_ptr< weld::Widgetm_xCategory
 
std::unique_ptr< weld::ComboBoxm_xCharStyleLB
 
std::unique_ptr< weld::CheckButtonm_xApplyBorderCB
 
std::unique_ptr< weld::CustomWeldm_xPreview
 

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 117 of file optload.hxx.

Constructor & Destructor Documentation

◆ SwCaptionOptPage()

SwCaptionOptPage::SwCaptionOptPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SwCaptionOptPage()

SwCaptionOptPage::~SwCaptionOptPage ( )
overridevirtual

Definition at line 531 of file optload.cxx.

References DelUserData(), m_pMgr, and m_xPreview.

Member Function Documentation

◆ Create()

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

◆ DECL_LINK() [1/8]

SwCaptionOptPage::DECL_LINK ( ModifyComboHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/8]

SwCaptionOptPage::DECL_LINK ( ModifyEntryHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [3/8]

SwCaptionOptPage::DECL_LINK ( OrderHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/8]

SwCaptionOptPage::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/8]

SwCaptionOptPage::DECL_LINK ( SelectListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/8]

SwCaptionOptPage::DECL_LINK ( ShowEntryHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [7/8]

SwCaptionOptPage::DECL_LINK ( TextFilterHdl  ,
OUString &  ,
bool   
)
private

◆ DECL_LINK() [8/8]

SwCaptionOptPage::DECL_LINK ( ToggleEntryHdl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DelUserData()

void SwCaptionOptPage::DelUserData ( )
private

Definition at line 643 of file optload.cxx.

References i, m_xCheckLB, and nCount.

Referenced by Reset(), and ~SwCaptionOptPage().

◆ FillItemSet()

bool SwCaptionOptPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ InvalidatePreview()

void SwCaptionOptPage::InvalidatePreview ( )
private

◆ ModifyHdl()

void SwCaptionOptPage::ModifyHdl ( )
private

◆ Reset()

void SwCaptionOptPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SaveEntry()

void SwCaptionOptPage::SaveEntry ( int  nEntry)
private

◆ SetOptions()

void SwCaptionOptPage::SetOptions ( const sal_uLong  nPos,
const SwCapObjType  eType,
const SvGlobalName pOleId = nullptr 
)
private

◆ UpdateEntry()

void SwCaptionOptPage::UpdateEntry ( int  nRow)
private

Member Data Documentation

◆ m_aPreview

SwCaptionPreview SwCaptionOptPage::m_aPreview
private

Definition at line 144 of file optload.hxx.

Referenced by InvalidatePreview().

◆ m_aTextFilter

TextFilterAutoConvert SwCaptionOptPage::m_aTextFilter
private

Definition at line 142 of file optload.hxx.

◆ m_bHTMLMode

bool SwCaptionOptPage::m_bHTMLMode
private

Definition at line 140 of file optload.hxx.

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

◆ m_nPrevSelectedEntry

int SwCaptionOptPage::m_nPrevSelectedEntry
private

Definition at line 137 of file optload.hxx.

◆ m_pMgr

std::unique_ptr<SwFieldMgr> SwCaptionOptPage::m_pMgr
private

Definition at line 139 of file optload.hxx.

Referenced by InvalidatePreview(), SwCaptionOptPage(), UpdateEntry(), and ~SwCaptionOptPage().

◆ m_sAbove

OUString SwCaptionOptPage::m_sAbove
private

Definition at line 132 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_sBegin

OUString SwCaptionOptPage::m_sBegin
private

Definition at line 130 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_sBelow

OUString SwCaptionOptPage::m_sBelow
private

Definition at line 133 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_sDrawing

OUString SwCaptionOptPage::m_sDrawing
private

Definition at line 128 of file optload.hxx.

Referenced by SwCaptionOptPage(), and UpdateEntry().

◆ m_sEnd

OUString SwCaptionOptPage::m_sEnd
private

Definition at line 131 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_sIllustration

OUString SwCaptionOptPage::m_sIllustration
private

Definition at line 125 of file optload.hxx.

Referenced by SwCaptionOptPage(), and UpdateEntry().

◆ m_sNone

OUString SwCaptionOptPage::m_sNone
private

Definition at line 135 of file optload.hxx.

Referenced by InvalidatePreview(), ModifyHdl(), SaveEntry(), and UpdateEntry().

◆ m_sOLE

OUString SwCaptionOptPage::m_sOLE
private

Definition at line 123 of file optload.hxx.

Referenced by Reset().

◆ m_sSWFrame

OUString SwCaptionOptPage::m_sSWFrame
private

Definition at line 121 of file optload.hxx.

Referenced by Reset().

◆ m_sSWGraphic

OUString SwCaptionOptPage::m_sSWGraphic
private

Definition at line 122 of file optload.hxx.

Referenced by Reset().

◆ m_sSWTable

OUString SwCaptionOptPage::m_sSWTable
private

Definition at line 120 of file optload.hxx.

Referenced by Reset().

◆ m_sTable

OUString SwCaptionOptPage::m_sTable
private

Definition at line 126 of file optload.hxx.

Referenced by SwCaptionOptPage(), and UpdateEntry().

◆ m_sText

OUString SwCaptionOptPage::m_sText
private

Definition at line 127 of file optload.hxx.

Referenced by SwCaptionOptPage(), and UpdateEntry().

◆ m_xApplyBorderCB

std::unique_ptr<weld::CheckButton> SwCaptionOptPage::m_xApplyBorderCB
private

Definition at line 165 of file optload.hxx.

Referenced by SaveEntry(), and UpdateEntry().

◆ m_xCategory

std::unique_ptr<weld::Widget> SwCaptionOptPage::m_xCategory
private

Definition at line 163 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_xCategoryBox

std::unique_ptr<weld::ComboBox> SwCaptionOptPage::m_xCategoryBox
private

Definition at line 149 of file optload.hxx.

Referenced by InvalidatePreview(), ModifyHdl(), SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xCharStyleLB

std::unique_ptr<weld::ComboBox> SwCaptionOptPage::m_xCharStyleLB
private

Definition at line 164 of file optload.hxx.

Referenced by SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xCheckLB

std::unique_ptr<weld::TreeView> SwCaptionOptPage::m_xCheckLB
private

◆ m_xEdDelim

std::unique_ptr<weld::Entry> SwCaptionOptPage::m_xEdDelim
private

Definition at line 161 of file optload.hxx.

Referenced by SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xFormatBox

std::unique_ptr<weld::ComboBox> SwCaptionOptPage::m_xFormatBox
private

Definition at line 151 of file optload.hxx.

Referenced by InvalidatePreview(), ModifyHdl(), SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xFormatText

std::unique_ptr<weld::Label> SwCaptionOptPage::m_xFormatText
private

Definition at line 150 of file optload.hxx.

Referenced by ModifyHdl().

◆ m_xLbCaptionOrder

std::unique_ptr<weld::ComboBox> SwCaptionOptPage::m_xLbCaptionOrder
private

Definition at line 146 of file optload.hxx.

Referenced by FillItemSet(), InvalidatePreview(), Reset(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xLbLevel

std::unique_ptr<weld::ComboBox> SwCaptionOptPage::m_xLbLevel
private

Definition at line 160 of file optload.hxx.

Referenced by SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xNumberingSeparatorED

std::unique_ptr<weld::Entry> SwCaptionOptPage::m_xNumberingSeparatorED
private

Definition at line 154 of file optload.hxx.

Referenced by InvalidatePreview(), SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xNumberingSeparatorFT

std::unique_ptr<weld::Label> SwCaptionOptPage::m_xNumberingSeparatorFT
private

Definition at line 153 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_xNumCapt

std::unique_ptr<weld::Widget> SwCaptionOptPage::m_xNumCapt
private

Definition at line 159 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_xPosBox

std::unique_ptr<weld::ComboBox> SwCaptionOptPage::m_xPosBox
private

Definition at line 157 of file optload.hxx.

Referenced by SaveEntry(), and UpdateEntry().

◆ m_xPreview

std::unique_ptr<weld::CustomWeld> SwCaptionOptPage::m_xPreview
private

Definition at line 166 of file optload.hxx.

Referenced by UpdateEntry(), and ~SwCaptionOptPage().

◆ m_xSettingsGroup

std::unique_ptr<weld::Widget> SwCaptionOptPage::m_xSettingsGroup
private

Definition at line 148 of file optload.hxx.

Referenced by UpdateEntry().

◆ m_xTextEdit

std::unique_ptr<weld::Entry> SwCaptionOptPage::m_xTextEdit
private

Definition at line 156 of file optload.hxx.

Referenced by InvalidatePreview(), ModifyHdl(), SaveEntry(), SwCaptionOptPage(), and UpdateEntry().

◆ m_xTextText

std::unique_ptr<weld::Label> SwCaptionOptPage::m_xTextText
private

Definition at line 155 of file optload.hxx.

Referenced by ModifyHdl().


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