|
LibreOffice Module sc (master) 1
|
#include <rangelst.hxx>#include <o3tl/string_view.hxx>#include <sfx2/dispatch.hxx>#include <svl/stritem.hxx>#include <vcl/svapp.hxx>#include <vcl/weld.hxx>#include <unotools/charclass.hxx>#include <areasdlg.hxx>#include <rangenam.hxx>#include <reffact.hxx>#include <tabvwsh.hxx>#include <docsh.hxx>#include <globstr.hrc>#include <scresid.hxx>#include <compiler.hxx>#include <markdata.hxx>Go to the source code of this file.
Enumerations | |
| enum | { SC_AREASDLG_PR_ENTIRE = 1 , SC_AREASDLG_PR_USER = 2 , SC_AREASDLG_PR_SELECT = 3 } |
| enum | { SC_AREASDLG_RR_NONE = 0 , SC_AREASDLG_RR_USER = 1 , SC_AREASDLG_RR_OFFSET = 2 } |
Functions | |
| static bool | lcl_CheckRepeatString (std::u16string_view aStr, const ScDocument &rDoc, bool bIsRow, ScRange *pRange) |
| static void | lcl_GetRepeatRangeString (std::optional< ScRange > oRange, const ScDocument &rDoc, bool bIsRow, OUString &rStr) |
| IMPL_LINK (ScPrintAreasDlg, Impl_BtnHdl, weld::Button &, rBtn, void) | |
| IMPL_LINK (ScPrintAreasDlg, Impl_GetEditFocusHdl, formula::RefEdit &, rCtrl, void) | |
| IMPL_LINK (ScPrintAreasDlg, Impl_GetFocusHdl, weld::Widget &, rCtrl, void) | |
| IMPL_LINK (ScPrintAreasDlg, Impl_SelectHdl, weld::ComboBox &, rLb, void) | |
| IMPL_LINK (ScPrintAreasDlg, Impl_ModifyHdl, formula::RefEdit &, rEd, void) | |
| static bool | lcl_CheckOne_OOO (const ScDocument &rDoc, const OUString &rStr, bool bIsRow, SCCOLROW &rVal) |
| static bool | lcl_CheckOne_XL_A1 (const ScDocument &rDoc, const OUString &rStr, bool bIsRow, SCCOLROW &rVal) |
| static bool | lcl_CheckOne_XL_R1C1 (const ScDocument &rDoc, std::u16string_view aStr, bool bIsRow, SCCOLROW &rVal) |
| static bool | lcl_CheckRepeatOne (const ScDocument &rDoc, const OUString &rStr, formula::FormulaGrammar::AddressConvention eConv, bool bIsRow, SCCOLROW &rVal) |
| anonymous enum |
| Enumerator | |
|---|---|
| SC_AREASDLG_PR_ENTIRE | |
| SC_AREASDLG_PR_USER | |
| SC_AREASDLG_PR_SELECT | |
Definition at line 40 of file areasdlg.cxx.
| anonymous enum |
| Enumerator | |
|---|---|
| SC_AREASDLG_RR_NONE | |
| SC_AREASDLG_RR_USER | |
| SC_AREASDLG_RR_OFFSET | |
Definition at line 47 of file areasdlg.cxx.
| IMPL_LINK | ( | ScPrintAreasDlg | , |
| Impl_BtnHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 446 of file areasdlg.cxx.
References SfxDispatcher::ExecuteList(), GetBindings(), SfxBindings::GetDispatcher(), RET_CANCEL, RET_OK, and SC_AREASDLG_PR_ENTIRE.
| IMPL_LINK | ( | ScPrintAreasDlg | , |
| Impl_GetEditFocusHdl | , | ||
| formula::RefEdit & | , | ||
| rCtrl | , | ||
| void | |||
| ) |
Definition at line 493 of file areasdlg.cxx.
| IMPL_LINK | ( | ScPrintAreasDlg | , |
| Impl_GetFocusHdl | , | ||
| weld::Widget & | , | ||
| rCtrl | , | ||
| void | |||
| ) |
Definition at line 498 of file areasdlg.cxx.
| IMPL_LINK | ( | ScPrintAreasDlg | , |
| Impl_ModifyHdl | , | ||
| formula::RefEdit & | , | ||
| rEd | , | ||
| void | |||
| ) |
Definition at line 538 of file areasdlg.cxx.
References weld::ComboBox::get_count(), weld::ComboBox::get_id(), i, SC_AREASDLG_PR_SELECT, SC_AREASDLG_PR_USER, SC_AREASDLG_RR_OFFSET, SC_AREASDLG_RR_USER, and weld::ComboBox::set_active().
| IMPL_LINK | ( | ScPrintAreasDlg | , |
| Impl_SelectHdl | , | ||
| weld::ComboBox & | , | ||
| rLb | , | ||
| void | |||
| ) |
Definition at line 508 of file areasdlg.cxx.
References SC_AREASDLG_PR_ENTIRE, SC_AREASDLG_PR_SELECT, SC_AREASDLG_RR_NONE, SC_AREASDLG_RR_OFFSET, and formula::RefEdit::SetText().
|
static |
Definition at line 585 of file areasdlg.cxx.
References AlphaToCol(), aStr, ScSheetLimits::GetMaxRowCount(), ScDocument::GetSheetLimits(), CharClass::isAsciiNumeric(), and n.
Referenced by lcl_CheckOne_XL_A1(), and lcl_CheckRepeatOne().
|
static |
Definition at line 628 of file areasdlg.cxx.
References lcl_CheckOne_OOO().
Referenced by lcl_CheckRepeatOne().
|
static |
Definition at line 634 of file areasdlg.cxx.
References aStr, ScSheetLimits::GetMaxColCount(), ScSheetLimits::GetMaxRowCount(), ScDocument::GetSheetLimits(), CharClass::isAsciiNumeric(), and o3tl::toInt32().
Referenced by lcl_CheckRepeatOne().
|
static |
Definition at line 663 of file areasdlg.cxx.
References formula::FormulaGrammar::CONV_OOO, formula::FormulaGrammar::CONV_XL_A1, formula::FormulaGrammar::CONV_XL_R1C1, lcl_CheckOne_OOO(), lcl_CheckOne_XL_A1(), and lcl_CheckOne_XL_R1C1().
Referenced by lcl_CheckRepeatString().
|
static |
Definition at line 681 of file areasdlg.cxx.
References aBuf, ScRange::aEnd, ScRange::aStart, aStr, ScDocument::GetAddressConvention(), formula::FormulaCompiler::GetNativeSymbolChar(), i, lcl_CheckRepeatOne(), ocRange, ScAddress::SetCol(), and ScAddress::SetRow().
Referenced by ScPrintAreasDlg::Impl_CheckRefStrings(), and ScPrintAreasDlg::Impl_GetItem().
|
static |
Definition at line 766 of file areasdlg.cxx.
References ScAddress::Col(), COL_ABS, COL_VALID, ScAddress::Format(), ScDocument::GetAddressConvention(), formula::FormulaCompiler::GetNativeSymbol(), ocRange, ScAddress::Row(), ROW_ABS, and ROW_VALID.
Referenced by ScPrintAreasDlg::Impl_FillLists(), ScPrintAreasDlg::Impl_Reset(), and ScPrintAreasDlg::SetReference().