LibreOffice Module sw (master)
1
|
#include <sfx2/objface.hxx>
#include <vcl/help.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/syswin.hxx>
#include <vcl/weld.hxx>
#include <rtl/ustrbuf.hxx>
#include <svl/whiter.hxx>
#include <svl/slstitm.hxx>
#include <svl/eitem.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/request.hxx>
#include <sfx2/dispatch.hxx>
#include <editeng/paperinf.hxx>
#include <svx/svdview.hxx>
#include <svx/zoomslideritem.hxx>
#include <tools/svborder.hxx>
#include <globdoc.hxx>
#include <wdocsh.hxx>
#include <pvprtdat.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
#include <viewopt.hxx>
#include <doc.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <pview.hxx>
#include <view.hxx>
#include <scroll.hxx>
#include <prtopt.hxx>
#include <usrpref.hxx>
#include "viewfunc.hxx"
#include <helpids.h>
#include <cmdid.h>
#include <strings.hrc>
#include <sfx2/msg.hxx>
#include <swslots.hxx>
#include <pagepreviewlayout.hxx>
#include <svx/svxdlg.hxx>
#include <memory>
#include <vcl/EnumContext.hxx>
#include <vcl/notebookbar/notebookbar.hxx>
Go to the source code of this file.
Macros | |
#define | ShellClass_SwPagePreview |
#define | SWVIEWFLAGS SfxViewShellFlags::HAS_PRINTOPTIONS |
#define | MIN_PREVIEW_ZOOM 25 |
#define | MAX_PREVIEW_ZOOM 600 |
Functions | |
SFX_IMPL_NAMED_VIEWFACTORY (SwPagePreview,"PrintPreview") | |
static sal_uInt16 | lcl_GetNextZoomStep (sal_uInt16 nCurrentZoom, bool bZoomIn) |
static void | lcl_InvalidateZoomSlots (SfxBindings &rBindings) |
IMPL_LINK (SwPagePreview, ScrollHdl, ScrollBar *, p, void) | |
IMPL_LINK (SwPagePreview, EndScrollHdl, ScrollBar *, p, void) | |
#define MAX_PREVIEW_ZOOM 600 |
Definition at line 94 of file pview.cxx.
Referenced by SwPagePreview::GetState(), SwPagePreview::HandleWheelCommands(), and lcl_GetNextZoomStep().
#define MIN_PREVIEW_ZOOM 25 |
Definition at line 93 of file pview.cxx.
Referenced by SwPagePreview::GetState(), SwPagePreview::HandleWheelCommands(), and lcl_GetNextZoomStep().
#define SWVIEWFLAGS SfxViewShellFlags::HAS_PRINTOPTIONS |
IMPL_LINK | ( | SwPagePreview | , |
ScrollHdl | , | ||
ScrollBar * | , | ||
p | , | ||
void | |||
) |
Definition at line 1388 of file pview.cxx.
References vcl::Window::GetParent(), vcl::Window::GetPointerPosPixel(), vcl::Window::GetPosPixel(), ScrollBar::GetThumbPos(), ScrollBar::GetType(), SwScrollbar::IsHoriScroll(), Help::IsQuickHelpEnabled(), tools::Rectangle::Left(), vcl::Window::OutputToScreenPixel(), p, Point, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Help::ShowQuickHelp(), tools::Rectangle::Top(), and Y.
IMPL_LINK | ( | SwPagePreview | , |
EndScrollHdl | , | ||
ScrollBar * | , | ||
p | , | ||
void | |||
) |
Definition at line 1421 of file pview.cxx.
References SwPagePreviewLayout::DoesPreviewLayoutColsFitIntoWindow(), FN_PAGEDOWN, FN_PAGEUP, FN_START_OF_DOCUMENT, FN_STAT_PAGE, ScrollBar::GetThumbPos(), SwPagePreviewLayout::GetWinPagesScrollAmount(), SfxBindings::Invalidate(), SwScrollbar::IsHoriScroll(), SwPagePreviewLayout::IsPageVisible(), Help::IsQuickHelpEnabled(), SwPagePreviewLayout::MarkNewSelectedPage(), SwPagePreviewWin::MV_SCROLL, p, and Help::ShowQuickHelp().
|
static |
Definition at line 96 of file pview.cxx.
References i, MAX_PREVIEW_ZOOM, MIN_PREVIEW_ZOOM, and SAL_N_ELEMENTS.
Referenced by SwPagePreview::Execute().
|
static |
Definition at line 122 of file pview.cxx.
References FN_PREVIEW_ZOOM, FN_STAT_ZOOM, and SfxBindings::Invalidate().
Referenced by SwPagePreviewWin::DataChanged(), and SwPagePreview::SetZoom().
SFX_IMPL_NAMED_VIEWFACTORY | ( | SwPagePreview | , |
"PrintPreview" | |||
) |
Definition at line 73 of file pview.cxx.
References SFX_VIEW_REGISTRATION.