LibreOffice Module vcl (master) 1
|
#include <ImplLayoutArgs.hxx>
Public Member Functions | |
ImplLayoutArgs (OUString const &rStr, int nMinCharPos, int nEndCharPos, SalLayoutFlags nFlags, LanguageTag aLanguageTag, vcl::text::TextLayoutCache const *pLayoutCache) | |
void | SetLayoutWidth (double nWidth) |
void | SetDXArray (const double *pDXArray) |
void | SetKashidaArray (const sal_Bool *pKashidaArray) |
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 double * | mpDXArray |
const sal_Bool * | mpKashidaArray |
double | mnLayoutWidth |
Degree10 | mnOrientation |
ImplLayoutRuns | maRuns |
ImplLayoutRuns | maFallbackRuns |
Private Member Functions | |
void | AddRun (int nMinCharPos, int nEndCharPos, bool bRTL) |
Definition at line 24 of file ImplLayoutArgs.hxx.
vcl::text::ImplLayoutArgs::ImplLayoutArgs | ( | OUString const & | rStr, |
int | nMinCharPos, | ||
int | nEndCharPos, | ||
SalLayoutFlags | nFlags, | ||
LanguageTag | aLanguageTag, | ||
vcl::text::TextLayoutCache const * | pLayoutCache | ||
) |
Definition at line 31 of file ImplLayoutArgs.cxx.
References AddRun(), BiDiRtl, BiDiStrong, i, maLanguageTag, maRuns, mnEndCharPos, mnFlags, mnFlags, mnLayoutWidth, mnMinCharPos, mrStr, nLength, and ImplLayoutRuns::ResetPos().
Definition at line 109 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::AddRun(), and maFallbackRuns.
Referenced by GenericSalLayout::SetNeedFallback().
Definition at line 141 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 | ||
) |
Definition at line 104 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::GetNextPos(), and maRuns.
Referenced by OutputDevice::GetTextIsRTL().
Definition at line 236 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::GetRun(), maRuns, and ImplLayoutRuns::NextRun().
Referenced by MultiSalLayout::ImplAdjustMultiLayout(), OutputDevice::ImplGlyphFallbackLayout(), and GenericSalLayout::LayoutText().
|
inline |
Definition at line 59 of file ImplLayoutArgs.hxx.
Referenced by MultiSalLayout::AdjustLayout().
bool vcl::text::ImplLayoutArgs::HasFallbackRun | ( | ) | const |
Definition at line 114 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::IsEmpty(), and maFallbackRuns.
Referenced by OutputDevice::ImplLayout().
bool vcl::text::ImplLayoutArgs::PrepareFallback | ( | const SalLayoutGlyphsImpl * | pGlyphsImpl | ) |
Definition at line 171 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::AddPos(), ImplLayoutRuns::Clear(), ImplLayoutRuns::GetRun(), i, ImplLayoutRuns::IsEmpty(), maFallbackRuns, maRuns, mrStr, ImplLayoutRuns::NextRun(), and ImplLayoutRuns::ResetPos().
Referenced by OutputDevice::ImplGlyphFallbackLayout().
void vcl::text::ImplLayoutArgs::ResetPos | ( | ) |
Definition at line 102 of file ImplLayoutArgs.cxx.
References maRuns, and ImplLayoutRuns::ResetPos().
Referenced by OutputDevice::getFallbackLayout(), MultiSalLayout::ImplAdjustMultiLayout(), and OutputDevice::ImplGlyphFallbackLayout().
void vcl::text::ImplLayoutArgs::SetDXArray | ( | const double * | pDXArray | ) |
Definition at line 93 of file ImplLayoutArgs.cxx.
References mpDXArray.
Referenced by OutputDevice::ImplLayout().
void vcl::text::ImplLayoutArgs::SetKashidaArray | ( | const sal_Bool * | pKashidaArray | ) |
Definition at line 95 of file ImplLayoutArgs.cxx.
References mpKashidaArray.
Referenced by OutputDevice::ImplLayout().
void vcl::text::ImplLayoutArgs::SetLayoutWidth | ( | double | nWidth | ) |
Definition at line 91 of file ImplLayoutArgs.cxx.
References mnLayoutWidth.
Referenced by OutputDevice::ImplPrepareLayoutArgs().
void vcl::text::ImplLayoutArgs::SetOrientation | ( | Degree10 | nOrientation | ) |
Definition at line 100 of file ImplLayoutArgs.cxx.
References mnOrientation.
Referenced by OutputDevice::ImplPrepareLayoutArgs().
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 |
Definition at line 28 of file ImplLayoutArgs.hxx.
Referenced by SalLayout::AdjustLayout(), GenericSalLayout::LayoutText(), and GenericSalLayout::SetNeedFallback().
ImplLayoutRuns vcl::text::ImplLayoutArgs::maRuns |
Definition at line 44 of file ImplLayoutArgs.hxx.
Referenced by AddRun(), GetNextPos(), GetNextRun(), MultiSalLayout::ImplAdjustMultiLayout(), OutputDevice::ImplGlyphFallbackLayout(), ImplLayoutArgs(), MultiSalLayout::LayoutText(), PrepareFallback(), and ResetPos().
int vcl::text::ImplLayoutArgs::mnEndCharPos |
Definition at line 32 of file ImplLayoutArgs.hxx.
Referenced by SalLayout::AdjustLayout(), MultiSalLayout::AdjustLayout(), MultiSalLayout::ImplAdjustMultiLayout(), ImplLayoutArgs(), GenericSalLayout::LayoutText(), operator<<(), and GenericSalLayout::SetNeedFallback().
SalLayoutFlags vcl::text::ImplLayoutArgs::mnFlags |
Definition at line 29 of file ImplLayoutArgs.hxx.
Referenced by GenericSalLayout::AdjustLayout(), MultiSalLayout::ImplAdjustMultiLayout(), OutputDevice::ImplGlyphFallbackLayout(), OutputDevice::ImplLayout(), ImplLayoutArgs(), GenericSalLayout::LayoutText(), and operator<<().
double vcl::text::ImplLayoutArgs::mnLayoutWidth |
Definition at line 40 of file ImplLayoutArgs.hxx.
Referenced by GenericSalLayout::AdjustLayout(), MultiSalLayout::AdjustLayout(), operator<<(), and SetLayoutWidth().
int vcl::text::ImplLayoutArgs::mnMinCharPos |
Definition at line 31 of file ImplLayoutArgs.hxx.
Referenced by SalLayout::AdjustLayout(), MultiSalLayout::AdjustLayout(), MultiSalLayout::ImplAdjustMultiLayout(), ImplLayoutArgs(), GenericSalLayout::LayoutText(), operator<<(), and GenericSalLayout::SetNeedFallback().
Degree10 vcl::text::ImplLayoutArgs::mnOrientation |
Definition at line 41 of file ImplLayoutArgs.hxx.
Referenced by SalLayout::AdjustLayout(), and SetOrientation().
const double* vcl::text::ImplLayoutArgs::mpDXArray |
Definition at line 38 of file ImplLayoutArgs.hxx.
Referenced by GenericSalLayout::AdjustLayout(), MultiSalLayout::AdjustLayout(), operator<<(), and SetDXArray().
const sal_Bool* vcl::text::ImplLayoutArgs::mpKashidaArray |
Definition at line 39 of file ImplLayoutArgs.hxx.
Referenced by GenericSalLayout::AdjustLayout(), operator<<(), and SetKashidaArray().
const OUString& vcl::text::ImplLayoutArgs::mrStr |
Definition at line 30 of file ImplLayoutArgs.hxx.
Referenced by AddRun(), GenericSalLayout::AdjustLayout(), OutputDevice::ImplGlyphFallbackLayout(), ImplLayoutArgs(), GenericSalLayout::LayoutText(), operator<<(), PrepareFallback(), and GenericSalLayout::SetNeedFallback().