LibreOffice Module vcl (master)
1
|
#include <ImplLayoutArgs.hxx>
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 DeviceCoordinate * | mpDXArray |
const double * | mpAltNaturalDXArray |
DeviceCoordinate | 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 const & | rLanguageTag, | ||
vcl::text::TextLayoutCache const * | pLayoutCache | ||
) |
Definition at line 30 of file ImplLayoutArgs.cxx.
References AddRun(), vcl::text::BiDiRtl, vcl::text::BiDiStrong, i, maLanguageTag, maRuns, mnEndCharPos, mnFlags, mnFlags, mnLayoutWidth, mnMinCharPos, mrStr, nLength, and ImplLayoutRuns::ResetPos().
Definition at line 119 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::AddRun(), and maFallbackRuns.
Referenced by GenericSalLayout::SetNeedFallback().
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 | ||
) |
Definition at line 114 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::GetNextPos(), and maRuns.
Referenced by OutputDevice::GetTextIsRTL(), and OutputDevice::ImplGlyphFallbackLayout().
Definition at line 246 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::GetRun(), maRuns, and ImplLayoutRuns::NextRun().
Referenced by MultiSalLayout::ImplAdjustMultiLayout(), 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 124 of file ImplLayoutArgs.cxx.
References ImplLayoutRuns::IsEmpty(), and maFallbackRuns.
Referenced by OutputDevice::ImplLayout().
bool vcl::text::ImplLayoutArgs::PrepareFallback | ( | const SalLayoutGlyphsImpl * | pGlyphsImpl | ) |
Definition at line 181 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 112 of file ImplLayoutArgs.cxx.
References maRuns, and ImplLayoutRuns::ResetPos().
Referenced by OutputDevice::getFallbackLayout(), MultiSalLayout::ImplAdjustMultiLayout(), and OutputDevice::ImplGlyphFallbackLayout().
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.
Definition at line 110 of file ImplLayoutArgs.cxx.
References mnOrientation.
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 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<<().
DeviceCoordinate vcl::text::ImplLayoutArgs::mnLayoutWidth |
Definition at line 40 of file ImplLayoutArgs.hxx.
Referenced by MultiSalLayout::AdjustLayout(), GenericSalLayout::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::mpAltNaturalDXArray |
Definition at line 39 of file ImplLayoutArgs.hxx.
Referenced by MultiSalLayout::AdjustLayout(), GenericSalLayout::AdjustLayout(), operator<<(), and SetAltNaturalDXArray().
const DeviceCoordinate* vcl::text::ImplLayoutArgs::mpDXArray |
Definition at line 38 of file ImplLayoutArgs.hxx.
Referenced by MultiSalLayout::AdjustLayout(), GenericSalLayout::AdjustLayout(), operator<<(), and SetDXArray().
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().