LibreOffice Module sc (master)
1
|
#include <scuitphfedit.hxx>
Public Member Functions | |
virtual bool | FillItemSet (SfxItemSet *rCoreSet) override |
virtual void | Reset (const SfxItemSet *rCoreSet) override |
void | SetNumType (SvxNumType eNumType) |
void | ClearTextAreas () |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Protected Member Functions | |
ScHFEditPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet, sal_uInt16 nWhich, bool bHeader) | |
virtual | ~ScHFEditPage () override |
![]() | |
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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () 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) |
Additional Inherited Members | |
![]() | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Definition at line 48 of file scuitphfedit.hxx.
|
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.
|
overrideprotectedvirtual |
Definition at line 137 of file scuitphfedit.cxx.
void ScHFEditPage::ClearTextAreas | ( | ) |
Definition at line 690 of file scuitphfedit.cxx.
References EMPTY_OUSTRING, m_xWndCenter, m_xWndLeft, and m_xWndRight.
Referenced by ProcessDefinedListSel().
|
private |
one of m_pWndLeft, m_pWndCenter, m_pWndRight
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 166 of file scuitphfedit.cxx.
References m_xWndCenter, m_xWndLeft, m_xWndRight, nWhich, SfxItemSet::Put(), ScPageHFItem::SetCenterArea(), ScPageHFItem::SetLeftArea(), and ScPageHFItem::SetRightArea().
|
private |
Definition at line 182 of file scuitphfedit.cxx.
References EE_FEATURE_FIELD(), SvtUserOptions::GetCompany(), SvtUserOptions::GetFirstName(), SvtUserOptions::GetLastName(), m_xFtConfidential, m_xFtCreatedBy, m_xFtNone, m_xFtOfQuestion, m_xFtPage, m_xLbDefined, and m_xWndLeft.
Referenced by ScHFEditPage().
|
private |
Definition at line 233 of file scuitphfedit.cxx.
References eEntryCount, m_xFtCustomized, m_xLbDefined, and nCount.
Referenced by SetSelectDefinedList().
|
staticprivate |
Definition at line 472 of file scuitphfedit.cxx.
References EditTextObject::GetField(), SvxFieldItem::GetField(), and EditTextObject::IsFieldObject().
Referenced by SetSelectDefinedList().
|
staticprivate |
Definition at line 491 of file scuitphfedit.cxx.
References EditTextObject::GetField(), SvxFieldItem::GetField(), and EditTextObject::IsFieldObject().
Referenced by SetSelectDefinedList().
|
private |
Definition at line 435 of file scuitphfedit.cxx.
References EditEngine::CreateTextObject(), SvxFieldItem::GetField(), EditEngine::GetPortions(), EditEngine::GetText(), EditTextObject::IsFieldObject(), and m_xFtPage.
Referenced by SetSelectDefinedList().
|
private |
Definition at line 509 of file scuitphfedit.cxx.
References ClearTextAreas(), eConfidentialEntry, eCreatedByEntry, EE_FEATURE_FIELD(), eExtFileNameEntry, eFileNamePageEntry, EMPTY_OUSTRING, eNoneEntry, ePageEntry, ePageExtFileNameEntry, ePageFileNameEntry, ePagesEntry, ePageSheetEntry, eSheetEntry, eUserNameEntry, SvtUserOptions::GetCompany(), SvtUserOptions::GetFirstName(), SvtUserOptions::GetLastName(), m_xFtConfidential, m_xFtCreatedBy, m_xFtOf, m_xFtPage, m_xWndCenter, m_xWndLeft, m_xWndRight, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPos, and Date::SYSTEM.
|
private |
Definition at line 243 of file scuitphfedit.cxx.
References eEntryCount, m_xLbDefined, and nCount.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 148 of file scuitphfedit.cxx.
References ScPageHFItem::GetCenterArea(), ScPageHFItem::GetLeftArea(), ScPageHFItem::GetRightArea(), SfxItemSet::HasItem(), m_xWndCenter, m_xWndLeft, m_xWndRight, nWhich, and SetSelectDefinedList().
void ScHFEditPage::SetNumType | ( | SvxNumType | eNumType | ) |
Definition at line 141 of file scuitphfedit.cxx.
References m_xWndCenter, m_xWndLeft, and m_xWndRight.
|
private |
Definition at line 251 of file scuitphfedit.cxx.
References eConfidentialEntry, eCreatedByEntry, eEntryCount, eExtFileNameEntry, eFileNamePageEntry, EMPTY_OUSTRING, eNoneEntry, ePageEntry, ePageExtFileNameEntry, ePageFileNameEntry, ePagesEntry, ePageSheetEntry, eSheetEntry, eUserNameEntry, SvtUserOptions::GetCompany(), SvxFieldItem::GetField(), SvtUserOptions::GetFirstName(), SvtUserOptions::GetLastName(), i, InsertToDefinedList(), IsDateEntry(), IsExtFileNameEntry(), IsPageEntry(), m_xFtConfidential, m_xFtCreatedBy, m_xLbDefined, m_xWndCenter, m_xWndLeft, m_xWndRight, and nCount.
Referenced by Reset().
|
private |
Definition at line 66 of file scuitphfedit.hxx.
|
private |
Definition at line 67 of file scuitphfedit.hxx.
|
private |
Definition at line 98 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 77 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 73 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 76 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 75 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 74 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 72 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 78 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 80 of file scuitphfedit.hxx.
Referenced by InitPreDefinedList(), ProcessDefinedListSel(), and SetSelectDefinedList().
|
private |
Definition at line 85 of file scuitphfedit.hxx.
Referenced by InitPreDefinedList(), ProcessDefinedListSel(), and SetSelectDefinedList().
|
private |
Definition at line 71 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 86 of file scuitphfedit.hxx.
Referenced by InsertToDefinedList().
|
private |
Definition at line 69 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 84 of file scuitphfedit.hxx.
Referenced by InitPreDefinedList().
|
private |
Definition at line 83 of file scuitphfedit.hxx.
Referenced by ProcessDefinedListSel().
|
private |
Definition at line 82 of file scuitphfedit.hxx.
Referenced by InitPreDefinedList().
|
private |
Definition at line 81 of file scuitphfedit.hxx.
Referenced by InitPreDefinedList(), IsPageEntry(), and ProcessDefinedListSel().
|
private |
Definition at line 70 of file scuitphfedit.hxx.
Referenced by InitPreDefinedList(), InsertToDefinedList(), RemoveFromDefinedList(), ScHFEditPage(), and SetSelectDefinedList().
|
private |
Definition at line 88 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 89 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 92 of file scuitphfedit.hxx.
Referenced by ClearTextAreas(), FillItemSet(), ProcessDefinedListSel(), Reset(), ScHFEditPage(), SetNumType(), and SetSelectDefinedList().
|
private |
Definition at line 95 of file scuitphfedit.hxx.
|
private |
Definition at line 91 of file scuitphfedit.hxx.
Referenced by ClearTextAreas(), FillItemSet(), InitPreDefinedList(), ProcessDefinedListSel(), Reset(), ScHFEditPage(), SetNumType(), and SetSelectDefinedList().
|
private |
Definition at line 94 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 93 of file scuitphfedit.hxx.
Referenced by ClearTextAreas(), FillItemSet(), ProcessDefinedListSel(), Reset(), ScHFEditPage(), SetNumType(), and SetSelectDefinedList().
|
private |
Definition at line 96 of file scuitphfedit.hxx.
Referenced by ScHFEditPage().
|
private |
Definition at line 65 of file scuitphfedit.hxx.
Referenced by FillItemSet(), and Reset().