LibreOffice Module sc (master) 1
Enumerations | Functions
areasdlg.cxx File Reference
#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>
Include dependency graph for areasdlg.cxx:

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)
 

Enumeration Type Documentation

◆ anonymous enum

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

anonymous enum
Enumerator
SC_AREASDLG_RR_NONE 
SC_AREASDLG_RR_USER 
SC_AREASDLG_RR_OFFSET 

Definition at line 47 of file areasdlg.cxx.

Function Documentation

◆ IMPL_LINK() [1/5]

IMPL_LINK ( ScPrintAreasDlg  ,
Impl_BtnHdl  ,
weld::Button ,
rBtn  ,
void   
)

◆ IMPL_LINK() [2/5]

IMPL_LINK ( ScPrintAreasDlg  ,
Impl_GetEditFocusHdl  ,
formula::RefEdit ,
rCtrl  ,
void   
)

Definition at line 493 of file areasdlg.cxx.

◆ IMPL_LINK() [3/5]

IMPL_LINK ( ScPrintAreasDlg  ,
Impl_GetFocusHdl  ,
weld::Widget ,
rCtrl  ,
void   
)

Definition at line 498 of file areasdlg.cxx.

◆ IMPL_LINK() [4/5]

IMPL_LINK ( ScPrintAreasDlg  ,
Impl_ModifyHdl  ,
formula::RefEdit ,
rEd  ,
void   
)

◆ IMPL_LINK() [5/5]

IMPL_LINK ( ScPrintAreasDlg  ,
Impl_SelectHdl  ,
weld::ComboBox ,
rLb  ,
void   
)

◆ lcl_CheckOne_OOO()

static bool lcl_CheckOne_OOO ( const ScDocument rDoc,
const OUString &  rStr,
bool  bIsRow,
SCCOLROW rVal 
)
static

◆ lcl_CheckOne_XL_A1()

static bool lcl_CheckOne_XL_A1 ( const ScDocument rDoc,
const OUString &  rStr,
bool  bIsRow,
SCCOLROW rVal 
)
static

Definition at line 628 of file areasdlg.cxx.

References lcl_CheckOne_OOO().

Referenced by lcl_CheckRepeatOne().

◆ lcl_CheckOne_XL_R1C1()

static bool lcl_CheckOne_XL_R1C1 ( const ScDocument rDoc,
std::u16string_view  aStr,
bool  bIsRow,
SCCOLROW rVal 
)
static

◆ lcl_CheckRepeatOne()

static bool lcl_CheckRepeatOne ( const ScDocument rDoc,
const OUString &  rStr,
formula::FormulaGrammar::AddressConvention  eConv,
bool  bIsRow,
SCCOLROW rVal 
)
static

◆ lcl_CheckRepeatString()

static bool lcl_CheckRepeatString ( std::u16string_view  aStr,
const ScDocument rDoc,
bool  bIsRow,
ScRange pRange 
)
static

◆ lcl_GetRepeatRangeString()

static void lcl_GetRepeatRangeString ( std::optional< ScRange oRange,
const ScDocument rDoc,
bool  bIsRow,
OUString &  rStr 
)
static