LibreOffice Module sw (master)  1
Functions | Variables
viewport.cxx File Reference
#include <config_features.h>
#include <hintids.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/help.hxx>
#include <vcl/settings.hxx>
#include <svx/ruler.hxx>
#include <editeng/paperinf.hxx>
#include <editeng/lrspitem.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/svxids.hrc>
#include <view.hxx>
#include <wrtsh.hxx>
#include <swmodule.hxx>
#include <viewopt.hxx>
#include <frmatr.hxx>
#include <docsh.hxx>
#include <cmdid.h>
#include <edtwin.hxx>
#include <scroll.hxx>
#include <wview.hxx>
#include <usrpref.hxx>
#include <pagedesc.hxx>
#include <workctrl.hxx>
#include <PostItMgr.hxx>
#include <IDocumentSettingAccess.hxx>
#include <basegfx/utils/zoomtools.hxx>
#include <comphelper/lok.hxx>
#include <vcl/weld.hxx>
#include <tools/svborder.hxx>
#include "viewfunc.hxx"
Include dependency graph for viewport.cxx:

Go to the source code of this file.

Functions

static long GetLeftMargin (SwView const &rView)
 
static void lcl_GetPos (SwView const *pView, Point &rPos, SwScrollbar const *pScrollbar, bool bBorder)
 
 IMPL_LINK (SwView, ScrollHdl, ScrollBar *, p, void)
 
 IMPL_LINK (SwView, EndScrollHdl, ScrollBar *, p, void)
 
void ViewResizePixel (const vcl::RenderContext &rRef, const Point &rOfst, const Size &rSize, const Size &rEditSz, SwScrollbar &rVScrollbar, SwScrollbar &rHScrollbar, vcl::Window &rScrollBarBox, SvxRuler *pVRuler, SvxRuler *pHRuler, bool bVRulerRight)
 

Variables

static bool bProtectDocShellVisArea = false
 
static sal_uInt16 nPgNum = 0
 

Function Documentation

static long GetLeftMargin ( SwView const &  rView)
static
IMPL_LINK ( SwView  ,
ScrollHdl  ,
ScrollBar ,
,
void   
)
IMPL_LINK ( SwView  ,
EndScrollHdl  ,
ScrollBar ,
,
void   
)

Definition at line 753 of file viewport.cxx.

References FN_STAT_PAGE, lcl_GetPos(), nPgNum, and Help::ShowQuickHelp().

static void lcl_GetPos ( SwView const *  pView,
Point rPos,
SwScrollbar const *  pScrollbar,
bool  bBorder 
)
static
void ViewResizePixel ( const vcl::RenderContext rRef,
const Point rOfst,
const Size rSize,
const Size rEditSz,
SwScrollbar rVScrollbar,
SwScrollbar rHScrollbar,
vcl::Window rScrollBarBox,
SvxRuler pVRuler,
SvxRuler pHRuler,
bool  bVRulerRight 
)

Variable Documentation

bool bProtectDocShellVisArea = false
static

Definition at line 61 of file viewport.cxx.

Referenced by SwView::InnerResizePixel(), and SwView::SetVisArea().

sal_uInt16 nPgNum = 0
static