LibreOffice Module sc (master)
1
|
#include <sizedev.hxx>
Public Member Functions | |
ScSizeDeviceProvider (ScDocShell *pDocSh) | |
~ScSizeDeviceProvider () | |
OutputDevice * | GetDevice () const |
double | GetPPTX () const |
double | GetPPTY () const |
bool | IsPrinter () const |
Private Attributes | |
VclPtr< OutputDevice > | pDevice |
bool | bOwner |
double | nPPTX |
double | nPPTY |
MapMode | aOldMapMode |
Definition at line 29 of file sizedev.hxx.
ScSizeDeviceProvider::ScSizeDeviceProvider | ( | ScDocShell * | pDocSh | ) |
Definition at line 28 of file sizedev.cxx.
References aOldMapMode, bOwner, VclPtr< reference_type >::Create(), OutputDevice::GetMapMode(), ScDocShell::GetOutputFactor(), ScDocShell::GetPrinter(), OutputDevice::LogicToPixel(), nPPTX, nPPTY, pDevice, Point, SC_MOD, OutputDevice::SetDigitLanguage(), and OutputDevice::SetMapMode().
ScSizeDeviceProvider::~ScSizeDeviceProvider | ( | ) |
Definition at line 55 of file sizedev.cxx.
References aOldMapMode, bOwner, VclPtr< OutputDevice >::disposeAndClear(), pDevice, and OutputDevice::SetMapMode().
|
inline |
Definition at line 41 of file sizedev.hxx.
References VclPtr< OutputDevice >::get().
Referenced by ScViewFunc::AdjustBlockHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScDocShell::AdjustRowHeight(), ScDocShell::ConvertFrom(), ScXMLImport::endDocument(), ScViewFunc::GetOptimalColWidth(), lcl_GetOptimalColWidth(), ScViewFunc::ModifyCellSize(), ScDocFunc::SetWidthOrHeight(), ScViewFunc::SetWidthOrHeight(), and ScDocShell::UpdateAllRowHeights().
|
inline |
Definition at line 42 of file sizedev.hxx.
References nPPTX.
Referenced by ScViewFunc::AdjustBlockHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScDocShell::AdjustRowHeight(), ScDocShell::ConvertFrom(), ScXMLImport::endDocument(), ScViewFunc::GetOptimalColWidth(), lcl_GetOptimalColWidth(), ScViewFunc::ModifyCellSize(), ScDocFunc::SetWidthOrHeight(), ScViewFunc::SetWidthOrHeight(), and ScDocShell::UpdateAllRowHeights().
|
inline |
Definition at line 43 of file sizedev.hxx.
References nPPTY.
Referenced by ScViewFunc::AdjustBlockHeight(), ScDocFunc::AdjustRowHeight(), ScViewFunc::AdjustRowHeight(), ScDocShell::AdjustRowHeight(), ScDocShell::ConvertFrom(), ScXMLImport::endDocument(), ScViewFunc::GetOptimalColWidth(), lcl_GetOptimalColWidth(), ScViewFunc::ModifyCellSize(), ScDocFunc::SetWidthOrHeight(), ScViewFunc::SetWidthOrHeight(), and ScDocShell::UpdateAllRowHeights().
|
inline |
Definition at line 44 of file sizedev.hxx.
References bOwner.
Referenced by ScViewFunc::AdjustBlockHeight(), ScViewFunc::AdjustRowHeight(), ScViewFunc::GetOptimalColWidth(), ScViewFunc::ModifyCellSize(), and ScViewFunc::SetWidthOrHeight().
|
private |
Definition at line 35 of file sizedev.hxx.
Referenced by ScSizeDeviceProvider(), and ~ScSizeDeviceProvider().
|
private |
Definition at line 32 of file sizedev.hxx.
Referenced by IsPrinter(), ScSizeDeviceProvider(), and ~ScSizeDeviceProvider().
|
private |
Definition at line 33 of file sizedev.hxx.
Referenced by GetPPTX(), and ScSizeDeviceProvider().
|
private |
Definition at line 34 of file sizedev.hxx.
Referenced by GetPPTY(), and ScSizeDeviceProvider().
|
private |
Definition at line 31 of file sizedev.hxx.
Referenced by ScSizeDeviceProvider(), and ~ScSizeDeviceProvider().