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
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Protected Member Functions

 ScHFEditPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet, sal_uInt16 nWhich, bool bHeader)
 
virtual ~ScHFEditPage () override
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, 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
 

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 OString &, void)
 

Static Private Member Functions

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

Private Attributes

sal_uInt16 nWhich
 
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 ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet,
sal_uInt16  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 42 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, m_xWndRightWnd, and rEdit.

ScHFEditPage::~ScHFEditPage ( )
overrideprotectedvirtual

Definition at line 137 of file scuitphfedit.cxx.

Member Function Documentation

void ScHFEditPage::ClearTextAreas ( )

Definition at line 690 of file scuitphfedit.cxx.

References EMPTY_OUSTRING, m_xWndCenter, m_xWndLeft, and m_xWndRight.

Referenced by ProcessDefinedListSel().

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

one of m_pWndLeft, m_pWndCenter, m_pWndRight

ScHFEditPage::DECL_LINK ( ListHdl_Impl  ,
weld::ComboBox ,
void   
)
private
ScHFEditPage::DECL_LINK ( ListToggleHdl_Impl  ,
weld::ComboBox ,
void   
)
private
ScHFEditPage::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private
ScHFEditPage::DECL_LINK ( MenuHdl  ,
const OString &  ,
void   
)
private
bool ScHFEditPage::FillItemSet ( SfxItemSet rCoreSet)
overridevirtual
void ScHFEditPage::InitPreDefinedList ( )
private
void ScHFEditPage::InsertToDefinedList ( )
private

Definition at line 233 of file scuitphfedit.cxx.

References eEntryCount, m_xFtCustomized, m_xLbDefined, and nCount.

Referenced by SetSelectDefinedList().

bool ScHFEditPage::IsDateEntry ( const EditTextObject pTextObj)
staticprivate
bool ScHFEditPage::IsExtFileNameEntry ( const EditTextObject pTextObj)
staticprivate
bool ScHFEditPage::IsPageEntry ( EditEngine pEngine,
const EditTextObject pTextObj 
)
private
void ScHFEditPage::ProcessDefinedListSel ( ScHFEntryId  eSel,
bool  bTravelling 
)
private
void ScHFEditPage::RemoveFromDefinedList ( )
private

Definition at line 243 of file scuitphfedit.cxx.

References eEntryCount, m_xLbDefined, and nCount.

void ScHFEditPage::Reset ( const SfxItemSet rCoreSet)
overridevirtual
void ScHFEditPage::SetNumType ( SvxNumType  eNumType)

Definition at line 141 of file scuitphfedit.cxx.

References m_xWndCenter, m_xWndLeft, and m_xWndRight.

void ScHFEditPage::SetSelectDefinedList ( )
private

Member Data Documentation

bool ScHFEditPage::m_bDropDownActive
private

Definition at line 65 of file scuitphfedit.hxx.

sal_Int64 ScHFEditPage::m_nTimeToggled
private

Definition at line 66 of file scuitphfedit.hxx.

ScEditWindow* ScHFEditPage::m_pEditFocus
private

Definition at line 97 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 76 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 72 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 75 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 74 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 73 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 71 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 77 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 70 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 85 of file scuitphfedit.hxx.

Referenced by InsertToDefinedList().

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

Definition at line 68 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 83 of file scuitphfedit.hxx.

Referenced by InitPreDefinedList().

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

Definition at line 82 of file scuitphfedit.hxx.

Referenced by ProcessDefinedListSel().

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

Definition at line 81 of file scuitphfedit.hxx.

Referenced by InitPreDefinedList().

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

Definition at line 80 of file scuitphfedit.hxx.

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

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

Definition at line 87 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 88 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 94 of file scuitphfedit.hxx.

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

Definition at line 93 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

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

Definition at line 95 of file scuitphfedit.hxx.

Referenced by ScHFEditPage().

sal_uInt16 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: