LibreOffice Module sw (master)  1
Classes | Macros | Functions
pview.cxx File Reference
#include <sfx2/objface.hxx>
#include <vcl/timer.hxx>
#include <vcl/help.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/settings.hxx>
#include <vcl/weld.hxx>
#include <svl/whiter.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/progress.hxx>
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/request.hxx>
#include <sfx2/dispatch.hxx>
#include <editeng/paperinf.hxx>
#include <svl/srchitem.hxx>
#include <svx/svdview.hxx>
#include <svx/dlgutil.hxx>
#include <svx/zoomslideritem.hxx>
#include <svx/svxids.hrc>
#include <tools/svborder.hxx>
#include <swwait.hxx>
#include <globdoc.hxx>
#include <wdocsh.hxx>
#include <pvprtdat.hxx>
#include <swmodule.hxx>
#include <modcfg.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
#include <viewopt.hxx>
#include <doc.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <pview.hxx>
#include <view.hxx>
#include <textsh.hxx>
#include <scroll.hxx>
#include <prtopt.hxx>
#include <docstat.hxx>
#include <usrpref.hxx>
#include "viewfunc.hxx"
#include <helpids.h>
#include <cmdid.h>
#include <globals.hrc>
#include <strings.hrc>
#include <sfx2/msg.hxx>
#include <swslots.hxx>
#include <pagepreviewlayout.hxx>
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <memory>
#include <vcl/EnumContext.hxx>
#include <vcl/notebookbar.hxx>
#include <prevwpage.hxx>
Include dependency graph for pview.cxx:

Go to the source code of this file.

Classes

class  SwPreviewZoomDlg
 

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)
 

Macro Definition Documentation

#define MAX_PREVIEW_ZOOM   600
#define MIN_PREVIEW_ZOOM   25
#define ShellClass_SwPagePreview

Definition at line 69 of file pview.cxx.

#define SWVIEWFLAGS   SfxViewShellFlags::HAS_PRINTOPTIONS

Definition at line 101 of file pview.cxx.

Function Documentation

IMPL_LINK ( SwPagePreview  ,
ScrollHdl  ,
ScrollBar ,
,
void   
)
IMPL_LINK ( SwPagePreview  ,
EndScrollHdl  ,
ScrollBar ,
,
void   
)
static sal_uInt16 lcl_GetNextZoomStep ( sal_uInt16  nCurrentZoom,
bool  bZoomIn 
)
static

Definition at line 106 of file pview.cxx.

References i, MAX_PREVIEW_ZOOM, MIN_PREVIEW_ZOOM, and SAL_N_ELEMENTS.

Referenced by SwPagePreview::Execute().

static void lcl_InvalidateZoomSlots ( SfxBindings rBindings)
static
SFX_IMPL_NAMED_VIEWFACTORY ( SwPagePreview  ,
"PrintPreview"   
)

Definition at line 83 of file pview.cxx.

References SFX_VIEW_REGISTRATION.