LibreOffice Module sw (master)
1
|
#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 "viewfunc.hxx"
Go to the source code of this file.
Functions | |
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) |
Variables | |
static bool | bProtectDocShellVisArea = false |
static sal_uInt16 | nPgNum = 0 |
|
static |
Definition at line 63 of file viewport.cxx.
References DOCUMENTBORDER, eType, SwFEShell::GetAnyCurRect(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), SwViewOption::GetZoomType(), SwRect::Left(), nLeftOfst, and PagePrt.
Referenced by SwView::CalcPt(), and SwView::Scroll().
Definition at line 667 of file viewport.cxx.
References vcl::Window::GetParent(), vcl::Window::GetPointerPosPixel(), vcl::Window::GetPosPixel(), ScrollBar::GetType(), Help::IsQuickHelpEnabled(), lcl_GetPos(), tools::Rectangle::Left(), nPgNum, Outline, vcl::Window::OutputToScreenPixel(), p, Point, sDisplay, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), SwContentAtPos::sStr, tools::Rectangle::Top(), X, and Y.
Definition at line 739 of file viewport.cxx.
References FN_STAT_PAGE, lcl_GetPos(), nPgNum, p, Point, and Help::ShowQuickHelp().
|
static |
Definition at line 72 of file viewport.cxx.
References tools::Rectangle::Bottom(), DOCUMENTBORDER, SwViewShell::GetDocSize(), ScrollBar::GetThumbPos(), SwView::GetVisArea(), SwView::GetWrtShell(), SwScrollbar::IsHoriScroll(), SwRect::Pos(), tools::Rectangle::Right(), and SwViewShell::VisArea().
Referenced by IMPL_LINK().
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 | ||
) |
Definition at line 837 of file viewport.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), StyleSettings::GetScrollBarSize(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), Size::Height(), SwScrollbar::IsVisible(), nScrollBarSize, Point, vcl::Window::SetPosSizePixel(), SwScrollbar::SetPosSizePixel(), Size::setWidth(), WB_RIGHT_ALIGNED, and Size::Width().
Referenced by SwPagePreview::InnerResizePixel(), SwView::InnerResizePixel(), SwPagePreview::OuterResizePixel(), and SwView::OuterResizePixel().
|
static |
Definition at line 47 of file viewport.cxx.
Referenced by SwView::InnerResizePixel(), and SwView::SetVisArea().
|
static |
Definition at line 49 of file viewport.cxx.
Referenced by SwLayHelper::CheckFlyCache_(), SwDrawContact::ConnectToLayout(), SwTextFlowPage::FillItemSet(), SwFootnoteBossFrame::FindFirstFootnote(), IMPL_LINK(), lcl_ConvertSdrOle2ObjsToSdrGrafObjs(), lcl_FindAnchorLayPos(), SwFlyFrameFormat::MakeFrames(), and SwLayCacheImpl::Read().