LibreOffice Module sc (master) 1
|
#include <areasdlg.hxx>
Public Member Functions | |
ScPrintAreasDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent) | |
virtual | ~ScPrintAreasDlg () override |
virtual void | SetReference (const ScRange &rRef, ScDocument &rDoc) override |
virtual void | AddRefEntry () override |
virtual bool | IsTableLocked () const override |
virtual void | SetActive () override |
virtual void | Deactivate () override |
virtual void | Close () override |
Public Member Functions inherited from ScAnyRefDlgController | |
ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OUString &rt5) | |
Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController > | |
ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pArg, SfxBindings *pB) | |
ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Public Member Functions inherited from SfxModelessDialogController | |
virtual | ~SfxModelessDialogController () override |
void | Initialize (SfxChildWinInfo const *pInfo) |
bool | IsClosing () const |
virtual void | Close () override |
virtual void | EndDialog (int nResponse) override |
virtual void | Activate () override |
virtual void | Deactivate () override |
virtual void | ChildWinDispose () override |
virtual void | FillInfo (SfxChildWinInfo &) const |
SfxBindings & | GetBindings () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Public Member Functions inherited from ScRefHandler | |
ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef) | |
virtual | ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override |
virtual void | SetReference (const ScRange &rRef, ScDocument &rDoc) override=0 |
virtual void | AddRefEntry () override |
virtual bool | IsRefInputMode () const override |
virtual bool | IsTableLocked () const override |
virtual bool | IsDocAllowed (SfxObjectShell *pDocSh) const override |
virtual void | ShowReference (const OUString &rStr) override |
virtual void | HideReference (bool bDoneRefMode=true) override |
virtual void | ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override |
virtual void | ReleaseFocus (formula::RefEdit *pEdit) override |
virtual void | ViewShellChanged () override |
void | SwitchToDocument () |
virtual void | SetActive () override=0 |
bool | EnterRefMode () |
bool | LeaveRefMode () |
bool | CanInputDone (bool bForced) |
Private Member Functions | |
void | Impl_Reset () |
bool | Impl_CheckRefStrings () |
void | Impl_FillLists () |
bool | Impl_GetItem (const formula::RefEdit *pEd, SfxStringItem &rItem) |
DECL_LINK (Impl_SelectHdl, weld::ComboBox &, void) | |
DECL_LINK (Impl_ModifyHdl, formula::RefEdit &, void) | |
DECL_LINK (Impl_BtnHdl, weld::Button &, void) | |
DECL_LINK (Impl_GetEditFocusHdl, formula::RefEdit &, void) | |
DECL_LINK (Impl_GetFocusHdl, weld::Widget &, void) | |
Private Attributes | |
bool | bDlgLostFocus |
ScDocument * | pDoc |
ScViewData * | pViewData |
SCTAB | nCurTab |
formula::RefEdit * | m_pRefInputEdit |
std::unique_ptr< weld::ComboBox > | m_xLbPrintArea |
std::unique_ptr< formula::RefEdit > | m_xEdPrintArea |
std::unique_ptr< formula::RefButton > | m_xRbPrintArea |
std::unique_ptr< weld::ComboBox > | m_xLbRepeatRow |
std::unique_ptr< formula::RefEdit > | m_xEdRepeatRow |
std::unique_ptr< formula::RefButton > | m_xRbRepeatRow |
std::unique_ptr< weld::ComboBox > | m_xLbRepeatCol |
std::unique_ptr< formula::RefEdit > | m_xEdRepeatCol |
std::unique_ptr< formula::RefButton > | m_xRbRepeatCol |
std::unique_ptr< weld::Button > | m_xBtnOk |
std::unique_ptr< weld::Button > | m_xBtnCancel |
std::unique_ptr< weld::Frame > | m_xPrintFrame |
std::unique_ptr< weld::Frame > | m_xRowFrame |
std::unique_ptr< weld::Frame > | m_xColFrame |
std::unique_ptr< weld::Label > | m_xPrintFrameFT |
std::unique_ptr< weld::Label > | m_xRowFrameFT |
std::unique_ptr< weld::Label > | m_xColFrameFT |
Additional Inherited Members | |
Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController > | |
enum | |
Static Public Member Functions inherited from ScRefHandler | |
static bool | CanInputStart (const formula::RefEdit *pEdit) |
Protected Member Functions inherited from SfxModelessDialogController | |
SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Protected Member Functions inherited from ScRefHandler | |
void | disposeRefHandler () |
bool | DoClose (sal_uInt16 nId) |
void | SetDispatcherLock (bool bLock) |
virtual void | RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override |
virtual void | RefInputDone (bool bForced=false) override |
bool | ParseWithNames (ScRangeList &rRanges, std::u16string_view rStr, const ScDocument &pDoc) |
Definition at line 29 of file areasdlg.hxx.
ScPrintAreasDlg::ScPrintAreasDlg | ( | SfxBindings * | pB, |
SfxChildWindow * | pCW, | ||
weld::Window * | pParent | ||
) |
Definition at line 97 of file areasdlg.cxx.
References SfxObjectShell::Current(), SfxViewShell::Current(), ScDocShell::GetDocument(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Impl_Reset(), m_pRefInputEdit, m_xColFrameFT, m_xEdPrintArea, m_xEdRepeatCol, m_xEdRepeatRow, m_xPrintFrameFT, m_xRbPrintArea, m_xRbRepeatCol, m_xRbRepeatRow, m_xRowFrameFT, nCurTab, pDoc, and pViewData.
|
overridevirtual |
Definition at line 149 of file areasdlg.cxx.
|
overridevirtual |
Reimplemented from ScRefHandler.
Definition at line 197 of file areasdlg.cxx.
References formula::FormulaCompiler::GetNativeSymbolChar(), m_pRefInputEdit, m_xEdPrintArea, and ocSep.
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 153 of file areasdlg.cxx.
References ScRefHandler::DoClose().
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 212 of file areasdlg.cxx.
References bDlgLostFocus.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 315 of file areasdlg.cxx.
References COL2_VALID, COL_VALID, ERRORBOX, ScDocument::GetAddressConvention(), formula::FormulaCompiler::GetNativeSymbolChar(), formula::RefEdit::GrabFocus(), lcl_CheckRepeatString(), m_xDialog, m_xEdPrintArea, m_xEdRepeatCol, m_xEdRepeatRow, ocSep, ScAddress::Parse(), ScRange::Parse(), pDoc, ROW2_VALID, ROW_VALID, and VALID.
|
private |
Definition at line 379 of file areasdlg.cxx.
References ScRangeData::AbsArea, ScRangeData::AbsPos, aName, ScRangeData::ColHeader, ScRangeName::empty(), ScMarkData::FillRangeListWithMarks(), ScRange::Format(), tools::SvRef< typename T >::get(), ScDocument::GetAddressConvention(), ScViewData::GetMarkData(), ScDocument::GetRangeName(), ScViewData::GetSimpleArea(), lcl_GetRepeatRangeString(), m_xLbPrintArea, m_xLbRepeatCol, m_xLbRepeatRow, ScRange::ParseAny(), pDoc, ScRangeData::PrintArea, pViewData, RANGE_ABS, ScRangeData::RefArea, ScRangeData::RowHeader, SC_AREASDLG_PR_SELECT, SC_MARK_SIMPLE, and VALID.
Referenced by Impl_Reset().
|
private |
Definition at line 297 of file areasdlg.cxx.
References ScRange::Format(), ScDocument::GetAddressConvention(), formula::RefEdit::GetText(), formula::RefEdit::IsValueChangedFromSaved(), lcl_CheckRepeatString(), m_xEdPrintArea, m_xEdRepeatRow, pDoc, RANGE_ABS, and CntUnencodedStringItem::SetValue().
|
private |
Definition at line 235 of file areasdlg.cxx.
References ScRange::Format(), ScDocument::GetAddressConvention(), formula::FormulaCompiler::GetNativeSymbolChar(), ScDocument::GetPrintRange(), ScDocument::GetPrintRangeCount(), ScDocument::GetRepeatColRange(), ScDocument::GetRepeatRowRange(), i, Impl_FillLists(), ScDocument::IsPrintEntireSheet(), lcl_GetRepeatRangeString(), LINK, m_xBtnCancel, m_xBtnOk, m_xEdPrintArea, m_xEdRepeatCol, m_xEdRepeatRow, m_xLbPrintArea, m_xLbRepeatCol, m_xLbRepeatRow, nCurTab, ocSep, pDoc, RANGE_ABS, and SC_AREASDLG_PR_ENTIRE.
Referenced by ScPrintAreasDlg().
|
overridevirtual |
Reimplemented from ScRefHandler.
Definition at line 158 of file areasdlg.cxx.
|
overridevirtual |
Implements ScRefHandler.
Definition at line 217 of file areasdlg.cxx.
References bDlgLostFocus, formula::RefEdit::GrabFocus(), m_pRefInputEdit, m_xDialog, and ScRefHandler::RefInputDone().
|
overridevirtual |
Implements ScRefHandler.
Definition at line 166 of file areasdlg.cxx.
References ScRange::aEnd, ScRange::aStart, aStr, ScRange::Format(), ScDocument::GetAddressConvention(), lcl_GetRepeatRangeString(), Selection::Len(), m_pRefInputEdit, m_xEdPrintArea, m_xEdRepeatRow, Selection::Min(), Selection::Normalize(), pDoc, RANGE_ABS, ScRefHandler::RefInputStart(), and formula::RefEdit::SetRefString().
|
private |
Definition at line 45 of file areasdlg.hxx.
Referenced by Deactivate(), and SetActive().
|
private |
Definition at line 50 of file areasdlg.hxx.
Referenced by AddRefEntry(), ScPrintAreasDlg(), SetActive(), and SetReference().
|
private |
Definition at line 65 of file areasdlg.hxx.
Referenced by Impl_Reset().
|
private |
Definition at line 64 of file areasdlg.hxx.
Referenced by Impl_Reset().
|
private |
Definition at line 69 of file areasdlg.hxx.
|
private |
Definition at line 73 of file areasdlg.hxx.
Referenced by ScPrintAreasDlg().
|
private |
Definition at line 53 of file areasdlg.hxx.
Referenced by AddRefEntry(), Impl_CheckRefStrings(), Impl_GetItem(), Impl_Reset(), ScPrintAreasDlg(), and SetReference().
|
private |
Definition at line 61 of file areasdlg.hxx.
Referenced by Impl_CheckRefStrings(), Impl_Reset(), and ScPrintAreasDlg().
|
private |
Definition at line 57 of file areasdlg.hxx.
Referenced by Impl_CheckRefStrings(), Impl_GetItem(), Impl_Reset(), ScPrintAreasDlg(), and SetReference().
|
private |
Definition at line 52 of file areasdlg.hxx.
Referenced by Impl_FillLists(), and Impl_Reset().
|
private |
Definition at line 60 of file areasdlg.hxx.
Referenced by Impl_FillLists(), and Impl_Reset().
|
private |
Definition at line 56 of file areasdlg.hxx.
Referenced by Impl_FillLists(), and Impl_Reset().
|
private |
Definition at line 67 of file areasdlg.hxx.
|
private |
Definition at line 71 of file areasdlg.hxx.
Referenced by ScPrintAreasDlg().
|
private |
Definition at line 54 of file areasdlg.hxx.
Referenced by ScPrintAreasDlg().
|
private |
Definition at line 62 of file areasdlg.hxx.
Referenced by ScPrintAreasDlg().
|
private |
Definition at line 58 of file areasdlg.hxx.
Referenced by ScPrintAreasDlg().
|
private |
Definition at line 68 of file areasdlg.hxx.
|
private |
Definition at line 72 of file areasdlg.hxx.
Referenced by ScPrintAreasDlg().
|
private |
Definition at line 48 of file areasdlg.hxx.
Referenced by Impl_Reset(), and ScPrintAreasDlg().
|
private |
Definition at line 46 of file areasdlg.hxx.
Referenced by Impl_CheckRefStrings(), Impl_FillLists(), Impl_GetItem(), Impl_Reset(), ScPrintAreasDlg(), and SetReference().
|
private |
Definition at line 47 of file areasdlg.hxx.
Referenced by Impl_FillLists(), and ScPrintAreasDlg().