9#if !defined(OWL_PREVWIN_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
Base class for an extensible interface for auto enabling/disabling of commands (menu items,...
Derived from TGadgetWindow, TControlBar implements a control bar that provides mnemonic access for it...
TDecoratedFrame(TWindow *parent, LPCTSTR title, TWindow *clientWnd, bool trackMenuSelection=false, TModule *module=0)
Constructs a TDecoratedFrame object with the specified parent window (parent), window caption (title)...
Derived from TWindow, TLayoutWindow provides functionality for defining the layout metrics for a wind...
TPreviewPage encapsulates a window which displays print-preview data.
TPrinter & Printer
Printer device object.
int FirstPage
First Page displayed.
void SetupWindow() override
Overriden virtual of TWindow to allow preview frame to create the preview page(s).
TPreviewWin(TWindow *parentWindow, TPrinter &printer, TPrintout &printout, TWindow &dataWindow, LPCTSTR title, TLayoutWindow *client)
Destructor of Preview frame window. Performs general cleanup.
TPrintDC * PrnDC
Printer DC.
TPreviewPage * Page1
Pointer to first preview page.
TWindow & DataWindow
Window /w data we're previewing.
virtual void SetupSpeedBar()
int LastPage
Last Page displayed.
virtual void LayoutPages()
Repositions the preview page(s) using the aspect ratio of the printer when determining the dimensions...
TPrintout & Printout
Printer document object.
virtual TPreviewPage * GetNewPreviewPage(TWindow *parent, TPrintout &printout, TPrintDC &prndc, TSize &printExtent, int pagenum=1)
Returns a pointer to a TPreviewPage object.
TControlBar * PreviewSpeedBar
Pointer to toolbar object.
TSize PrinterPageSize
Printer's page size.
virtual void UpdateSpeedBar()
TPreviewPage * Page2
Pointer to second preview page.
A DC class that provides access to a printer.
TPrinter is an encapsulation around the Windows printer device interface, and represents the physical...
TPrintout represents the physical printed document that is to sent to a printer to be printed.
The tagSIZE struct is defined as.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Definition of class TControlBar.
Definition of class TDecoratedFrame, a TFrameWindow that can manage decorations around the client win...
Object Windows Library (OWLNext Core).
Definition of print preview classes.
Definition of text gadget class TGadget.