LibreOffice Module starmath (master) 1
Public Member Functions | Private Attributes | List of all members
SmPrinterAccess Class Reference

#include <document.hxx>

Collaboration diagram for SmPrinterAccess:
[legend]

Public Member Functions

 SmPrinterAccess (SmDocShell &rDocShell)
 
 ~SmPrinterAccess ()
 
PrinterGetPrinter ()
 
OutputDeviceGetRefDev ()
 

Private Attributes

VclPtr< PrinterpPrinter
 
VclPtr< OutputDevicepRefDev
 

Detailed Description

Definition at line 65 of file document.hxx.

Constructor & Destructor Documentation

◆ SmPrinterAccess()

SmPrinterAccess::SmPrinterAccess ( SmDocShell rDocShell)
explicit

If it is a document with its own printer the MapMode should be set correct (once) elsewhere(!), in order to avoid numerous superfluous pushing and popping of the MapMode when using this class.

If it is a document with its own printer the MapMode should be set correct (once) elsewhere(!), in order to avoid numerous superfluous pushing and popping of the MapMode when using this class.

Definition at line 403 of file document.cxx.

References aMap, VclPtr< class reference_type >::get(), SfxObjectShell::GetCreateMode(), SmDocShell::GetPrt(), SmDocShell::GetRefDev(), OutputDevice::LogicToLogic(), vcl::MAPMODE, pPrinter, pRefDev, Point::setX(), Point::setY(), SmMapUnit(), Point::X(), and Point::Y().

◆ ~SmPrinterAccess()

SmPrinterAccess::~SmPrinterAccess ( )

Definition at line 459 of file document.cxx.

References pPrinter, and pRefDev.

Member Function Documentation

◆ GetPrinter()

Printer * SmPrinterAccess::GetPrinter ( )
inline

Definition at line 72 of file document.hxx.

References VclPtr< class reference_type >::get(), and pPrinter.

Referenced by SmModel::getRenderer(), and SmModel::render().

◆ GetRefDev()

OutputDevice * SmPrinterAccess::GetRefDev ( )
inline

Definition at line 73 of file document.hxx.

References VclPtr< class reference_type >::get(), and pRefDev.

Referenced by SmDocShell::ArrangeFormula().

Member Data Documentation

◆ pPrinter

VclPtr<Printer> SmPrinterAccess::pPrinter
private

Definition at line 67 of file document.hxx.

Referenced by GetPrinter(), SmPrinterAccess(), and ~SmPrinterAccess().

◆ pRefDev

VclPtr<OutputDevice> SmPrinterAccess::pRefDev
private

Definition at line 68 of file document.hxx.

Referenced by GetRefDev(), SmPrinterAccess(), and ~SmPrinterAccess().


The documentation for this class was generated from the following files: