LibreOffice Module sc (master)  1
Macros | Variables
reffact.cxx File Reference
#include <sfx2/basedlgs.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <reffact.hxx>
#include <tabvwsh.hxx>
#include <sc.hrc>
#include <acredlin.hxx>
#include <simpref.hxx>
#include <scmod.hxx>
#include <scres.hrc>
#include <validate.hxx>
Include dependency graph for reffact.cxx:

Go to the source code of this file.

Macros

#define IMPL_CONTROLLER_CHILD_CTOR(Class, sid)
 

Variables

static bool bScSimpleRefFlag
 
static tools::Long nScSimpleRefHeight
 
static tools::Long nScSimpleRefWidth
 
static tools::Long nScSimpleRefX
 
static tools::Long nScSimpleRefY
 
static bool bAutoReOpen = true
 

Macro Definition Documentation

#define IMPL_CONTROLLER_CHILD_CTOR (   Class,
  sid 
)
Value:
Class::Class( vcl::Window* pParentP, \
sal_uInt16 nId, \
const SfxChildWinInfo* pInfo ) \
: SfxChildWindow(pParentP, nId) \
{ \
/************************************************************************************/\
/* When a new document is creating, the SfxViewFrame may be ready, */\
/* But the ScTabViewShell may have not been activated yet. In this */\
/* situation, SfxViewShell::Current() does not get the correct shell, */\
/* and we should lcl_GetTabViewShell( p ) instead of SfxViewShell::Current() */\
/************************************************************************************/\
ScTabViewShell* pViewShell = lcl_GetTabViewShell( p ); \
if (!pViewShell) \
pViewShell = dynamic_cast<ScTabViewShell*>( SfxViewShell::Current() ); \
OSL_ENSURE( pViewShell, "missing view shell :-(" ); \
SetController( pViewShell ? \
pViewShell->CreateRefDialogController( p, this, pInfo, pParentP->GetFrameWeld(), sid ) : nullptr ); \
if (pViewShell && !GetController()) \
pViewShell->GetViewFrame()->SetChildWindow( nId, false ); \
}
static SfxViewShell * Current()
char const * sid

Definition at line 66 of file reffact.cxx.

Variable Documentation

bool bAutoReOpen = true
static
bool bScSimpleRefFlag
static

Definition at line 120 of file reffact.cxx.

tools::Long nScSimpleRefHeight
static

Definition at line 121 of file reffact.cxx.

tools::Long nScSimpleRefWidth
static

Definition at line 122 of file reffact.cxx.

tools::Long nScSimpleRefX
static

Definition at line 123 of file reffact.cxx.

tools::Long nScSimpleRefY
static

Definition at line 124 of file reffact.cxx.