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:
[legend]

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 (int 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 const maLanguageTag
 
SalLayoutFlags mnFlags
 
const OUString & mrStr
 
int const mnMinCharPos
 
int const mnEndCharPos
 
vcl::TextLayoutCache const * m_pTextLayoutCache
 
const DeviceCoordinatempDXArray
 
DeviceCoordinate mnLayoutWidth
 
int mnOrientation
 
ImplLayoutRuns maRuns
 
ImplLayoutRuns maFallbackRuns
 

Private Member Functions

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

Detailed Description

Definition at line 75 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 
)
private

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 
)
inline
bool ImplLayoutArgs::GetNextRun ( int nMinRunPos,
int nEndRunPos,
bool *  bRTL 
)
void ImplLayoutArgs::NeedFallback ( int  nMinRunPos,
int  nEndRunPos,
bool  bRTL 
)
inline
bool ImplLayoutArgs::NeedFallback ( ) const
inline

Definition at line 114 of file sallayout.hxx.

References ImplLayoutRuns::IsEmpty().

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

Definition at line 103 of file sallayout.hxx.

void ImplLayoutArgs::SetLayoutWidth ( DeviceCoordinate  nWidth)
inline

Definition at line 102 of file sallayout.hxx.

void ImplLayoutArgs::SetOrientation ( int  nOrientation)
inline

Definition at line 104 of file sallayout.hxx.

Member Data Documentation

vcl::TextLayoutCache const* ImplLayoutArgs::m_pTextLayoutCache

Definition at line 86 of file sallayout.hxx.

Referenced by GenericSalLayout::LayoutText().

ImplLayoutRuns ImplLayoutArgs::maFallbackRuns

Definition at line 95 of file sallayout.hxx.

Referenced by PrepareFallback().

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

Definition at line 91 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: