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

#include <sallayout.hxx>

Collaboration diagram for ImplLayoutArgs:

Public Member Functions

 ImplLayoutArgs (const OUString &rStr, int nMinCharPos, int nEndCharPos, SalLayoutFlags nFlags, const LanguageTag &rLanguageTag, vcl::TextLayoutCache const *pLayoutCache)
void SetLayoutWidth (DeviceCoordinate nWidth)
void SetDXArray (const DeviceCoordinate *pDXArray)
void SetOrientation (Degree10 nOrientation)
void ResetPos ()
bool GetNextPos (int *nCharPos, bool *bRTL)
bool GetNextRun (int *nMinRunPos, int *nEndRunPos, bool *bRTL)
void NeedFallback (int nMinRunPos, int nEndRunPos, bool bRTL)
bool NeedFallback () const
bool PrepareFallback ()

Public Attributes

LanguageTag maLanguageTag
SalLayoutFlags mnFlags
const OUString & mrStr
int mnMinCharPos
int mnEndCharPos
vcl::TextLayoutCache const * m_pTextLayoutCache
const DeviceCoordinatempDXArray
DeviceCoordinate mnLayoutWidth
Degree10 mnOrientation
ImplLayoutRuns maRuns
ImplLayoutRuns maFallbackRuns

Private Member Functions

void AddRun (int nMinCharPos, int nEndCharPos, bool bRTL)

Detailed Description

Definition at line 76 of file sallayout.hxx.

Constructor & Destructor Documentation

ImplLayoutArgs::ImplLayoutArgs ( const OUString &  rStr,
int  nMinCharPos,
int  nEndCharPos,
SalLayoutFlags  nFlags,
const LanguageTag rLanguageTag,
vcl::TextLayoutCache const *  pLayoutCache 

Member Function Documentation

void ImplLayoutArgs::AddRun ( int  nMinCharPos,
int  nEndCharPos,
bool  bRTL 

Definition at line 459 of file sallayout.cxx.

References ImplLayoutRuns::AddRun(), i, IsControlChar(), maRuns, mrStr, and SAL_WARN_IF.

Referenced by ImplLayoutArgs().

bool ImplLayoutArgs::GetNextPos ( int nCharPos,
bool *  bRTL 
bool ImplLayoutArgs::GetNextRun ( int nMinRunPos,
int nEndRunPos,
bool *  bRTL 
void ImplLayoutArgs::NeedFallback ( int  nMinRunPos,
int  nEndRunPos,
bool  bRTL 
bool ImplLayoutArgs::NeedFallback ( ) const

Definition at line 115 of file sallayout.hxx.

References ImplLayoutRuns::IsEmpty().

bool ImplLayoutArgs::PrepareFallback ( )
void ImplLayoutArgs::ResetPos ( )
void ImplLayoutArgs::SetDXArray ( const DeviceCoordinate pDXArray)

Definition at line 104 of file sallayout.hxx.

void ImplLayoutArgs::SetLayoutWidth ( DeviceCoordinate  nWidth)

Definition at line 103 of file sallayout.hxx.

void ImplLayoutArgs::SetOrientation ( Degree10  nOrientation)

Definition at line 105 of file sallayout.hxx.

Member Data Documentation

vcl::TextLayoutCache const* ImplLayoutArgs::m_pTextLayoutCache

Definition at line 87 of file sallayout.hxx.

Referenced by GenericSalLayout::LayoutText().

ImplLayoutRuns ImplLayoutArgs::maFallbackRuns

Definition at line 96 of file sallayout.hxx.

Referenced by PrepareFallback().

LanguageTag ImplLayoutArgs::maLanguageTag
ImplLayoutRuns ImplLayoutArgs::maRuns
int ImplLayoutArgs::mnEndCharPos
SalLayoutFlags ImplLayoutArgs::mnFlags
DeviceCoordinate ImplLayoutArgs::mnLayoutWidth
int ImplLayoutArgs::mnMinCharPos
Degree10 ImplLayoutArgs::mnOrientation

Definition at line 92 of file sallayout.hxx.

Referenced by SalLayout::AdjustLayout().

const DeviceCoordinate* ImplLayoutArgs::mpDXArray
const OUString& ImplLayoutArgs::mrStr

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