LibreOffice Module sc (master) 1
|
#include <drawutil.hxx>
Static Public Member Functions | |
static void | CalcScale (const ScDocument &rDoc, SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, const OutputDevice *pDev, const Fraction &rZoomX, const Fraction &rZoomY, double nPPTX, double nPPTY, Fraction &rScaleX, Fraction &rScaleY) |
Definition at line 28 of file drawutil.hxx.
|
static |
Definition at line 29 of file drawutil.cxx.
References ScDocument::GetColWidth(), Fraction::GetDenominator(), Fraction::GetNumerator(), ScDocument::GetRowHeight(), i, o3tl::mm100, nPPTX, nPPTY, OutputDevice::PixelToLogic(), Fraction::ReduceInaccurate(), ScDocument::RowHidden(), ScViewData::ToPixel(), o3tl::twip, Point::X(), and Point::Y().
Referenced by ScDrawView::CalcNormScale(), ScGridWindow::GetDrawMapMode(), and ScDrawView::RecalcScale().