LibreOffice Module sw (master) 1
Functions | Variables
viewport.cxx File Reference
#include <vcl/commandevent.hxx>
#include <vcl/help.hxx>
#include <vcl/settings.hxx>
#include <vcl/syswin.hxx>
#include <svx/ruler.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <viewopt.hxx>
#include <docsh.hxx>
#include <cmdid.h>
#include <edtwin.hxx>
#include <scroll.hxx>
#include <PostItMgr.hxx>
#include <basegfx/utils/zoomtools.hxx>
#include <comphelper/lok.hxx>
#include <vcl/weld.hxx>
#include <tools/svborder.hxx>
#include <osl/diagnose.h>
#include "viewfunc.hxx"
#include <FrameControlsManager.hxx>
Include dependency graph for viewport.cxx:

Go to the source code of this file.


static tools::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)


static bool bProtectDocShellVisArea = false
static sal_uInt16 nPgNum = 0

Function Documentation

◆ GetLeftMargin()

static tools::Long GetLeftMargin ( SwView const &  rView)

◆ IMPL_LINK() [1/2]

IMPL_LINK ( SwView  ,
EndScrollHdl  ,
ScrollBar ,
p  ,

Definition at line 745 of file viewport.cxx.

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

◆ IMPL_LINK() [2/2]

IMPL_LINK ( SwView  ,
ScrollHdl  ,
ScrollBar ,
p  ,

◆ lcl_GetPos()

static void lcl_GetPos ( SwView const *  pView,
Point &  rPos,
SwScrollbar const *  pScrollbar,
bool  bBorder 

◆ ViewResizePixel()

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

◆ bProtectDocShellVisArea

bool bProtectDocShellVisArea = false

Definition at line 50 of file viewport.cxx.

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

◆ nPgNum

sal_uInt16 nPgNum = 0