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

#include <sallayout.hxx>

Public Member Functions

 ImplLayoutRuns ()
 
void Clear ()
 
void AddPos (int nCharPos, bool bRTL)
 
void AddRun (int nMinRunPos, int nEndRunPos, bool bRTL)
 
bool IsEmpty () const
 
void ResetPos ()
 
void NextRun ()
 
bool GetRun (int *nMinRunPos, int *nEndRunPos, bool *bRTL) const
 
bool GetNextPos (int *nCharPos, bool *bRTL)
 
bool PosIsInRun (int nCharPos) const
 
bool PosIsInAnyRun (int nCharPos) const
 

Private Attributes

int mnRunIndex
 
std::vector< intmaRuns
 

Detailed Description

Definition at line 53 of file sallayout.hxx.

Constructor & Destructor Documentation

ImplLayoutRuns::ImplLayoutRuns ( )
inline

Definition at line 60 of file sallayout.hxx.

Member Function Documentation

void ImplLayoutRuns::AddPos ( int  nCharPos,
bool  bRTL 
)

Definition at line 231 of file sallayout.cxx.

References maRuns.

void ImplLayoutRuns::AddRun ( int  nMinRunPos,
int  nEndRunPos,
bool  bRTL 
)

Definition at line 257 of file sallayout.cxx.

References maRuns.

Referenced by ImplLayoutArgs::AddRun(), and ImplLayoutArgs::NeedFallback().

void ImplLayoutRuns::Clear ( )
inline

Definition at line 62 of file sallayout.hxx.

Referenced by ImplLayoutArgs::PrepareFallback().

bool ImplLayoutRuns::GetNextPos ( int nCharPos,
bool *  bRTL 
)

Definition at line 323 of file sallayout.cxx.

References maRuns, and mnRunIndex.

Referenced by ImplLayoutArgs::GetNextPos().

bool ImplLayoutRuns::GetRun ( int nMinRunPos,
int nEndRunPos,
bool *  bRTL 
) const

Definition at line 367 of file sallayout.cxx.

References maRuns, and mnRunIndex.

Referenced by ImplLayoutArgs::GetNextRun(), and ImplLayoutArgs::PrepareFallback().

bool ImplLayoutRuns::IsEmpty ( ) const
inline

Definition at line 66 of file sallayout.hxx.

Referenced by ImplLayoutArgs::NeedFallback(), and ImplLayoutArgs::PrepareFallback().

void ImplLayoutRuns::NextRun ( )
inline
bool ImplLayoutRuns::PosIsInAnyRun ( int  nCharPos) const

Definition at line 302 of file sallayout.cxx.

References i, maRuns, mnRunIndex, NextRun(), PosIsInRun(), and ResetPos().

bool ImplLayoutRuns::PosIsInRun ( int  nCharPos) const

Definition at line 281 of file sallayout.cxx.

References maRuns, and mnRunIndex.

Referenced by MultiSalLayout::AdjustLayout(), and PosIsInAnyRun().

void ImplLayoutRuns::ResetPos ( )
inline

Member Data Documentation

std::vector<int> ImplLayoutRuns::maRuns
private

Definition at line 57 of file sallayout.hxx.

Referenced by AddPos(), AddRun(), GetNextPos(), GetRun(), PosIsInAnyRun(), and PosIsInRun().

int ImplLayoutRuns::mnRunIndex
private

Definition at line 56 of file sallayout.hxx.

Referenced by GetNextPos(), GetRun(), PosIsInAnyRun(), and PosIsInRun().


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