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

#include <ImplLayoutArgs.hxx>

Collaboration diagram for vcl::text::ImplLayoutArgs:

Public Member Functions

 ImplLayoutArgs (OUString const &rStr, int nMinCharPos, int nEndCharPos, SalLayoutFlags nFlags, LanguageTag const &rLanguageTag, vcl::text::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 AddFallbackRun (int nMinRunPos, int nEndRunPos, bool bRTL)
bool HasFallbackRun () const
bool PrepareFallback (const SalLayoutGlyphsImpl *pGlyphsImpl)

Public Attributes

LanguageTag maLanguageTag
SalLayoutFlags mnFlags
const OUString & mrStr
int mnMinCharPos
int mnEndCharPos
vcl::text::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 24 of file ImplLayoutArgs.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

void vcl::text::ImplLayoutArgs::AddFallbackRun ( int  nMinRunPos,
int  nEndRunPos,
bool  bRTL 

Definition at line 113 of file ImplLayoutArgs.cxx.

References ImplLayoutRuns::AddRun(), and maFallbackRuns.

Referenced by GenericSalLayout::SetNeedFallback().

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

Definition at line 142 of file ImplLayoutArgs.cxx.

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

Referenced by ImplLayoutArgs().

bool vcl::text::ImplLayoutArgs::GetNextPos ( int nCharPos,
bool *  bRTL 
bool vcl::text::ImplLayoutArgs::GetNextRun ( int nMinRunPos,
int nEndRunPos,
bool *  bRTL 
bool vcl::text::ImplLayoutArgs::HasFallbackRun ( ) const

Definition at line 118 of file ImplLayoutArgs.cxx.

References ImplLayoutRuns::IsEmpty(), and maFallbackRuns.

Referenced by OutputDevice::ImplLayout().

bool vcl::text::ImplLayoutArgs::PrepareFallback ( const SalLayoutGlyphsImpl pGlyphsImpl)
void vcl::text::ImplLayoutArgs::ResetPos ( )
void vcl::text::ImplLayoutArgs::SetDXArray ( const DeviceCoordinate pDXArray)

Definition at line 102 of file ImplLayoutArgs.cxx.

References mpDXArray.

void vcl::text::ImplLayoutArgs::SetLayoutWidth ( DeviceCoordinate  nWidth)

Definition at line 100 of file ImplLayoutArgs.cxx.

References mnLayoutWidth.

void vcl::text::ImplLayoutArgs::SetOrientation ( Degree10  nOrientation)

Definition at line 104 of file ImplLayoutArgs.cxx.

References mnOrientation.

Member Data Documentation

vcl::text::TextLayoutCache const* vcl::text::ImplLayoutArgs::m_pTextLayoutCache

Definition at line 35 of file ImplLayoutArgs.hxx.

Referenced by GenericSalLayout::LayoutText().

ImplLayoutRuns vcl::text::ImplLayoutArgs::maFallbackRuns

Definition at line 44 of file ImplLayoutArgs.hxx.

Referenced by AddFallbackRun(), HasFallbackRun(), and PrepareFallback().

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

Definition at line 40 of file ImplLayoutArgs.hxx.

Referenced by SalLayout::AdjustLayout(), and SetOrientation().

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

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