|
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 <osl/diagnose.h>#include "viewfunc.hxx"#include <FrameControlsManager.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, const weld::Scrollbar &rScrollbar, bool bHori, bool bBorder) |
| static void | HideQuickHelp (vcl::Window *pParent) |
| IMPL_LINK (SwView, VertScrollHdl, weld::Scrollbar &, rScrollbar, void) | |
| IMPL_LINK (SwView, HoriScrollHdl, weld::Scrollbar &, rScrollBar, void) | |
| void | ViewResizePixel (const vcl::RenderContext &rRef, const Point &rOfst, const Size &rSize, const Size &rEditSz, SwScrollbar &rVScrollbar, SwScrollbar &rHScrollbar, SvxRuler *pVRuler, SvxRuler *pHRuler, bool bVRulerRight) |
Variables | |
| static bool | bProtectDocShellVisArea = false |
| static sal_uInt16 | nPgNum = 0 |
|
static |
Definition at line 66 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().
|
static |
Definition at line 671 of file viewport.cxx.
References Help::ShowQuickHelp().
Referenced by SwView::EndScrollHdl(), and IMPL_LINK().
| IMPL_LINK | ( | SwView | , |
| HoriScrollHdl | , | ||
| weld::Scrollbar & | , | ||
| rScrollBar | , | ||
| void | |||
| ) |
Definition at line 762 of file viewport.cxx.
| IMPL_LINK | ( | SwView | , |
| VertScrollHdl | , | ||
| weld::Scrollbar & | , | ||
| rScrollbar | , | ||
| void | |||
| ) |
Definition at line 674 of file viewport.cxx.
References AllowContaining, HideQuickHelp(), Help::IsQuickHelpEnabled(), lcl_GetPos(), tools::Rectangle::Left(), nPgNum, Outline, sDisplay, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Help::ShowQuickHelp(), SwContentAtPos::sStr, tools::Rectangle::Top(), and Point::Y().
|
static |
Definition at line 75 of file viewport.cxx.
References weld::Scrollbar::adjustment_get_value(), Point::AdjustX(), Point::AdjustY(), tools::Rectangle::Bottom(), DOCUMENTBORDER, SwViewShell::GetDocSize(), SwView::GetVisArea(), SwView::GetWrtShell(), Size::Height(), SwRect::Pos(), tools::Rectangle::Right(), Point::setX(), Point::setY(), SwViewShell::VisArea(), Size::Width(), Point::X(), and Point::Y().
Referenced by SwView::EndScrollHdl(), and IMPL_LINK().
| void ViewResizePixel | ( | const vcl::RenderContext & | rRef, |
| const Point & | rOfst, | ||
| const Size & | rSize, | ||
| const Size & | rEditSz, | ||
| SwScrollbar & | rVScrollbar, | ||
| SwScrollbar & | rHScrollbar, | ||
| SvxRuler * | pVRuler, | ||
| SvxRuler * | pHRuler, | ||
| bool | bVRulerRight | ||
| ) |
Definition at line 837 of file viewport.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Point::AdjustX(), Point::AdjustY(), StyleSettings::GetScrollBarSize(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), Size::Height(), SwScrollbar::IsScrollbarVisible(), Size::setHeight(), SwScrollbar::SetPosSizePixel(), Size::setWidth(), Point::setX(), Point::setY(), WB_RIGHT_ALIGNED, Size::Width(), Point::X(), and Point::Y().
Referenced by SwView::InnerResizePixel(), SwPagePreview::InnerResizePixel(), SwView::OuterResizePixel(), and SwPagePreview::OuterResizePixel().
|
static |
Definition at line 50 of file viewport.cxx.
Referenced by SwView::InnerResizePixel(), and SwView::SetVisArea().
|
static |
Definition at line 52 of file viewport.cxx.
Referenced by SwLayHelper::CheckFlyCache_(), SwDrawContact::ConnectToLayout(), SwView::EndScrollHdl(), SwTextFlowPage::FillItemSet(), SwFootnoteBossFrame::FindFirstFootnote(), IMPL_LINK(), lcl_ConvertSdrOle2ObjsToSdrGrafObjs(), lcl_FindAnchorLayPos(), SwFlyFrameFormat::MakeFrames(), and SwLayCacheImpl::Read().