LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScHFEditPage Class Reference

#include <scuitphfedit.hxx>

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

Public Member Functions

virtual bool FillItemSet (SfxItemSet *rCoreSet) override
 
virtual void Reset (const SfxItemSet *rCoreSet) override
 
void SetNumType (SvxNumType eNumType)
 
void ClearTextAreas ()
 
- 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 ()
 

Protected Member Functions

 ScHFEditPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet, TypedWhichId< ScPageHFItem > nWhich, bool bHeader)
 
virtual ~ScHFEditPage () override
 
- 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
 

Private Member Functions

 DECL_LINK (ObjectSelectHdl, ScEditWindow &, void)
 one of m_pWndLeft, m_pWndCenter, m_pWndRight More...
 
void InitPreDefinedList ()
 
void ProcessDefinedListSel (ScHFEntryId eSel, bool bTravelling)
 
void InsertToDefinedList ()
 
void RemoveFromDefinedList ()
 
void SetSelectDefinedList ()
 
bool IsPageEntry (EditEngine *pEngine, const EditTextObject *pTextObj)
 
 DECL_LINK (ListHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ListToggleHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ClickHdl, weld::Button &, void)
 
 DECL_LINK (MenuHdl, const OUString &, void)
 

Static Private Member Functions

static bool IsDateEntry (const EditTextObject *pTextObj)
 
static bool IsExtFileNameEntry (const EditTextObject *pTextObj)
 

Private Attributes

TypedWhichId< ScPageHFItemnWhich
 
bool m_bDropDownActive
 
sal_Int64 m_nTimeToggled
 
std::unique_ptr< weld::Labelm_xFtDefinedHF
 
std::unique_ptr< weld::ComboBoxm_xLbDefined
 
std::unique_ptr< weld::Labelm_xFtCustomHF
 
std::unique_ptr< weld::Buttonm_xBtnText
 
std::unique_ptr< weld::MenuButtonm_xBtnFile
 
std::unique_ptr< weld::Buttonm_xBtnTable
 
std::unique_ptr< weld::Buttonm_xBtnPage
 
std::unique_ptr< weld::Buttonm_xBtnLastPage
 
std::unique_ptr< weld::Buttonm_xBtnDate
 
std::unique_ptr< weld::Buttonm_xBtnTime
 
std::unique_ptr< weld::Labelm_xFtConfidential
 
std::unique_ptr< weld::Labelm_xFtPage
 
std::unique_ptr< weld::Labelm_xFtOfQuestion
 
std::unique_ptr< weld::Labelm_xFtOf
 
std::unique_ptr< weld::Labelm_xFtNone
 
std::unique_ptr< weld::Labelm_xFtCreatedBy
 
std::unique_ptr< weld::Labelm_xFtCustomized
 
std::unique_ptr< weld::Widgetm_xLeft
 
std::unique_ptr< weld::Widgetm_xRight
 
std::unique_ptr< ScEditWindowm_xWndLeft
 
std::unique_ptr< ScEditWindowm_xWndCenter
 
std::unique_ptr< ScEditWindowm_xWndRight
 
std::unique_ptr< weld::CustomWeldm_xWndLeftWnd
 
std::unique_ptr< weld::CustomWeldm_xWndCenterWnd
 
std::unique_ptr< weld::CustomWeldm_xWndRightWnd
 
ScEditWindowm_pEditFocus
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 47 of file scuitphfedit.hxx.

Constructor & Destructor Documentation

◆ ScHFEditPage()

ScHFEditPage::ScHFEditPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet,
TypedWhichId< ScPageHFItem nWhich,
bool  bHeader 
)
protected

use default style from current document? if font color is used, header/footer background color must be set

Definition at line 41 of file scuitphfedit.cxx.

References AllSettings::GetLayoutRTL(), SfxItemSet::GetPool(), InitPreDefinedList(), LINK, m_pEditFocus, m_xBtnDate, m_xBtnFile, m_xBtnLastPage, m_xBtnPage, m_xBtnTable, m_xBtnText, m_xBtnTime, m_xFtCustomHF, m_xFtDefinedHF, m_xLbDefined, m_xLeft, m_xRight, m_xWndCenter, m_xWndLeft, m_xWndLeftWnd, m_xWndRight, and m_xWndRightWnd.

◆ ~ScHFEditPage()

ScHFEditPage::~ScHFEditPage ( )
overrideprotectedvirtual

Definition at line 136 of file scuitphfedit.cxx.

Member Function Documentation

◆ ClearTextAreas()

void ScHFEditPage::ClearTextAreas ( )

Definition at line 688 of file scuitphfedit.cxx.

References m_xWndCenter, m_xWndLeft, and m_xWndRight.

Referenced by ProcessDefinedListSel().

◆ DECL_LINK() [1/5]

ScHFEditPage::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

ScHFEditPage::DECL_LINK ( ListHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/5]

ScHFEditPage::DECL_LINK ( ListToggleHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/5]

ScHFEditPage::DECL_LINK ( MenuHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [5/5]

ScHFEditPage::DECL_LINK ( ObjectSelectHdl  ,
ScEditWindow ,
void   
)
private

one of m_pWndLeft, m_pWndCenter, m_pWndRight

◆ FillItemSet()

bool ScHFEditPage::FillItemSet ( SfxItemSet rCoreSet)
overridevirtual

◆ InitPreDefinedList()

void ScHFEditPage::InitPreDefinedList ( )
private

◆ InsertToDefinedList()

void ScHFEditPage::InsertToDefinedList ( )
private

Definition at line 231 of file scuitphfedit.cxx.

References eEntryCount, m_xFtCustomized, m_xLbDefined, and nCount.

Referenced by SetSelectDefinedList().

◆ IsDateEntry()

bool ScHFEditPage::IsDateEntry ( const EditTextObject pTextObj)
staticprivate

◆ IsExtFileNameEntry()

bool ScHFEditPage::IsExtFileNameEntry ( const EditTextObject pTextObj)
staticprivate

◆ IsPageEntry()

bool ScHFEditPage::IsPageEntry ( EditEngine pEngine,
const EditTextObject pTextObj 
)
private

◆ ProcessDefinedListSel()

void ScHFEditPage::ProcessDefinedListSel ( ScHFEntryId  eSel,
bool  bTravelling 
)
private

◆ RemoveFromDefinedList()

void ScHFEditPage::RemoveFromDefinedList ( )
private

Definition at line 241 of file scuitphfedit.cxx.

References eEntryCount, m_xLbDefined, and nCount.

◆ Reset()

void ScHFEditPage::Reset ( const SfxItemSet rCoreSet)
overridevirtual

◆ SetNumType()

void ScHFEditPage::SetNumType ( SvxNumType  eNumType)

Definition at line 140 of file scuitphfedit.cxx.

References m_xWndCenter, m_xWndLeft, and m_xWndRight.

◆ SetSelectDefinedList()

void ScHFEditPage::SetSelectDefinedList ( )
private

Member Data Documentation

◆ m_bDropDownActive

bool ScHFEditPage::m_bDropDownActive
private

Definition at line 65 of file scuitphfedit.hxx.

◆ m_nTimeToggled

sal_Int64 ScHFEditPage::m_nTimeToggled
private

Definition at line 66 of file scuitphfedit.hxx.

◆ m_pEditFocus

ScEditWindow* ScHFEditPage::m_pEditFocus
private

Definition at line 97 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnDate

std::unique_ptr<weld::Button> ScHFEditPage::m_xBtnDate
private

Definition at line 76 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnFile

std::unique_ptr<weld::MenuButton> ScHFEditPage::m_xBtnFile
private

Definition at line 72 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnLastPage

std::unique_ptr<weld::Button> ScHFEditPage::m_xBtnLastPage
private

Definition at line 75 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnPage

std::unique_ptr<weld::Button> ScHFEditPage::m_xBtnPage
private

Definition at line 74 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnTable

std::unique_ptr<weld::Button> ScHFEditPage::m_xBtnTable
private

Definition at line 73 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnText

std::unique_ptr<weld::Button> ScHFEditPage::m_xBtnText
private

Definition at line 71 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xBtnTime

std::unique_ptr<weld::Button> ScHFEditPage::m_xBtnTime
private

Definition at line 77 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xFtConfidential

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtConfidential
private

◆ m_xFtCreatedBy

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtCreatedBy
private

◆ m_xFtCustomHF

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtCustomHF
private

Definition at line 70 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xFtCustomized

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtCustomized
private

Definition at line 85 of file scuitphfedit.hxx.

Referenced by InsertToDefinedList().

◆ m_xFtDefinedHF

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtDefinedHF
private

Definition at line 68 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xFtNone

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtNone
private

Definition at line 83 of file scuitphfedit.hxx.

Referenced by InitPreDefinedList().

◆ m_xFtOf

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtOf
private

Definition at line 82 of file scuitphfedit.hxx.

Referenced by ProcessDefinedListSel().

◆ m_xFtOfQuestion

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtOfQuestion
private

Definition at line 81 of file scuitphfedit.hxx.

Referenced by InitPreDefinedList().

◆ m_xFtPage

std::unique_ptr<weld::Label> ScHFEditPage::m_xFtPage
private

Definition at line 80 of file scuitphfedit.hxx.

Referenced by InitPreDefinedList(), IsPageEntry(), and ProcessDefinedListSel().

◆ m_xLbDefined

std::unique_ptr<weld::ComboBox> ScHFEditPage::m_xLbDefined
private

◆ m_xLeft

std::unique_ptr<weld::Widget> ScHFEditPage::m_xLeft
private

Definition at line 87 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xRight

std::unique_ptr<weld::Widget> ScHFEditPage::m_xRight
private

Definition at line 88 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xWndCenter

std::unique_ptr<ScEditWindow> ScHFEditPage::m_xWndCenter
private

◆ m_xWndCenterWnd

std::unique_ptr<weld::CustomWeld> ScHFEditPage::m_xWndCenterWnd
private

Definition at line 94 of file scuitphfedit.hxx.

◆ m_xWndLeft

std::unique_ptr<ScEditWindow> ScHFEditPage::m_xWndLeft
private

◆ m_xWndLeftWnd

std::unique_ptr<weld::CustomWeld> ScHFEditPage::m_xWndLeftWnd
private

Definition at line 93 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ m_xWndRight

std::unique_ptr<ScEditWindow> ScHFEditPage::m_xWndRight
private

◆ m_xWndRightWnd

std::unique_ptr<weld::CustomWeld> ScHFEditPage::m_xWndRightWnd
private

Definition at line 95 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

◆ nWhich

TypedWhichId<ScPageHFItem> ScHFEditPage::nWhich
private

Definition at line 64 of file scuitphfedit.hxx.

Referenced by FillItemSet(), and Reset().


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