LibreOffice Module sc (master) 1
|
#include <condformatdlgentry.hxx>
Public Member Functions | |
ScDateFrmtEntry (ScCondFormatList *pParent, ScDocument *pDoc, const ScCondDateFormatEntry *pFormat=nullptr) | |
virtual | ~ScDateFrmtEntry () override |
virtual ScFormatEntry * | GetEntry () const override |
virtual void | SetActive () override |
virtual void | SetInactive () override |
virtual condformat::entry::ScCondFrmtEntryType | GetType () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Public Member Functions inherited from ScCondFrmtEntry | |
ScCondFrmtEntry (ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos) | |
virtual | ~ScCondFrmtEntry () |
void | Show () |
void | set_grid_top_attach (int nAttach) |
int | get_preferred_height () const |
void | SetPos (const ScAddress &rPos) |
bool | IsSelected () const |
void | SetIndex (sal_Int32 nIndex) |
virtual ScFormatEntry * | GetEntry () const =0 |
virtual void | SetActive ()=0 |
virtual void | SetInactive ()=0 |
virtual condformat::entry::ScCondFrmtEntryType | GetType ()=0 |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Protected Member Functions | |
virtual OUString | GetExpressionString () override |
Protected Member Functions inherited from ScCondFrmtEntry | |
virtual void | Select () |
virtual void | Deselect () |
virtual OUString | GetExpressionString ()=0 |
Private Member Functions | |
void | Init () |
DECL_LINK (StyleSelectHdl, weld::ComboBox &, void) | |
Private Attributes | |
SvxFontPrevWindow | maWdPreview |
std::unique_ptr< weld::ComboBox > | mxLbDateEntry |
std::unique_ptr< weld::Label > | mxFtStyle |
std::unique_ptr< weld::ComboBox > | mxLbStyle |
std::unique_ptr< weld::Widget > | mxWdPreviewWin |
std::unique_ptr< weld::CustomWeld > | mxWdPreview |
bool | mbIsInStyleCreate |
Additional Inherited Members | |
Protected Attributes inherited from ScCondFrmtEntry | |
ScCondFormatList * | mpParent |
std::unique_ptr< weld::Builder > | mxBuilder |
std::unique_ptr< weld::ComboBox > | mxLbType |
ScDocument * | mpDoc |
ScAddress | maPos |
Definition at line 273 of file condformatdlgentry.hxx.
ScDateFrmtEntry::ScDateFrmtEntry | ( | ScCondFormatList * | pParent, |
ScDocument * | pDoc, | ||
const ScCondDateFormatEntry * | pFormat = nullptr |
||
) |
Definition at line 1220 of file condformatdlgentry.cxx.
References CommonWidgetWidth, ScCondDateFormatEntry::GetDateType(), ScCondDateFormatEntry::GetStyleName(), ScDocument::GetStyleSheetPool(), Init(), mxLbDateEntry, mxLbStyle, mxWdPreview, nPos, and SfxListener::StartListening().
|
overridevirtual |
Definition at line 1249 of file condformatdlgentry.cxx.
|
private |
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 1292 of file condformatdlgentry.cxx.
References eType, ScCondFrmtEntry::mpDoc, mxLbDateEntry, mxLbStyle, ScCondDateFormatEntry::SetDateType(), and ScCondDateFormatEntry::SetStyleName().
|
overrideprotectedvirtual |
Implements ScCondFrmtEntry.
Definition at line 1301 of file condformatdlgentry.cxx.
References ScCondFormatHelper::GetExpression(), and mxLbDateEntry.
|
inlineoverridevirtual |
Implements ScCondFrmtEntry.
Definition at line 281 of file condformatdlgentry.hxx.
References condformat::entry::DATE.
|
private |
Definition at line 1253 of file condformatdlgentry.cxx.
References LINK, ScCondFrmtEntry::mpDoc, mxLbDateEntry, mxLbStyle, and ScCondFrmtEntry::mxLbType.
Referenced by ScDateFrmtEntry().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 1283 of file condformatdlgentry.cxx.
References SfxHint::GetId(), mbIsInStyleCreate, ScCondFrmtEntry::mpDoc, and mxLbStyle.
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 1263 of file condformatdlgentry.cxx.
References mxFtStyle, mxLbDateEntry, mxLbStyle, mxWdPreviewWin, and ScCondFrmtEntry::Select().
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 1273 of file condformatdlgentry.cxx.
References ScCondFrmtEntry::Deselect(), mxFtStyle, mxLbDateEntry, mxLbStyle, and mxWdPreviewWin.
|
private |
Definition at line 293 of file condformatdlgentry.hxx.
|
private |
Definition at line 300 of file condformatdlgentry.hxx.
Referenced by Notify().
|
private |
Definition at line 295 of file condformatdlgentry.hxx.
Referenced by SetActive(), and SetInactive().
|
private |
Definition at line 294 of file condformatdlgentry.hxx.
Referenced by GetEntry(), GetExpressionString(), Init(), ScDateFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 296 of file condformatdlgentry.hxx.
Referenced by GetEntry(), Init(), Notify(), ScDateFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 298 of file condformatdlgentry.hxx.
Referenced by ScDateFrmtEntry().
|
private |
Definition at line 297 of file condformatdlgentry.hxx.
Referenced by SetActive(), and SetInactive().