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

Used to store the necessary information about the (combined-)tile area relevant to coordinate transformations in RTL mode. More...

Collaboration diagram for ScLokRTLContext:
[legend]

Public Member Functions

 ScLokRTLContext (const ScOutputData &rOutputData, const tools::Long nTileDeviceOriginPixelX)
 
tools::Long docToTilePos (tools::Long nPosX) const
 Converts from document x pixel position to the corresponding pixel position w.r.t the tile device origin. More...
 

Private Attributes

const ScOutputDatamrOutputData
 
const tools::Long mnTileDevOriginX
 

Detailed Description

Used to store the necessary information about the (combined-)tile area relevant to coordinate transformations in RTL mode.

Definition at line 632 of file gridwin4.cxx.

Constructor & Destructor Documentation

◆ ScLokRTLContext()

ScLokRTLContext::ScLokRTLContext ( const ScOutputData rOutputData,
const tools::Long  nTileDeviceOriginPixelX 
)
inline

Definition at line 635 of file gridwin4.cxx.

Member Function Documentation

◆ docToTilePos()

tools::Long ScLokRTLContext::docToTilePos ( tools::Long  nPosX) const
inline

Converts from document x pixel position to the corresponding pixel position w.r.t the tile device origin.

Definition at line 644 of file gridwin4.cxx.

References ScOutputData::GetScrW(), mnTileDevOriginX, and mrOutputData.

Referenced by ScGridWindow::DrawButtons().

Member Data Documentation

◆ mnTileDevOriginX

const tools::Long ScLokRTLContext::mnTileDevOriginX
private

Definition at line 653 of file gridwin4.cxx.

Referenced by docToTilePos().

◆ mrOutputData

const ScOutputData& ScLokRTLContext::mrOutputData
private

Definition at line 652 of file gridwin4.cxx.

Referenced by docToTilePos().


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