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

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 SetAltNaturalDXArray (const double *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 HasDXArray () const
 
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
 
const double * mpAltNaturalDXArray
 
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 119 of file ImplLayoutArgs.cxx.

References ImplLayoutRuns::AddRun(), and maFallbackRuns.

Referenced by GenericSalLayout::SetNeedFallback().

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

Definition at line 151 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::HasDXArray ( ) const
inline

Definition at line 59 of file ImplLayoutArgs.hxx.

Referenced by MultiSalLayout::AdjustLayout().

bool vcl::text::ImplLayoutArgs::HasFallbackRun ( ) const

Definition at line 124 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::SetAltNaturalDXArray ( const double *  pDXArray)

Definition at line 105 of file ImplLayoutArgs.cxx.

References mpAltNaturalDXArray.

Referenced by OutputDevice::ImplLayout().

void vcl::text::ImplLayoutArgs::SetDXArray ( const DeviceCoordinate pDXArray)

Definition at line 103 of file ImplLayoutArgs.cxx.

References mpDXArray.

Referenced by OutputDevice::ImplLayout().

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

Definition at line 101 of file ImplLayoutArgs.cxx.

References mnLayoutWidth.

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

Definition at line 110 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 45 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 41 of file ImplLayoutArgs.hxx.

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

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

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