Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_textlayout.h>
Public Member Functions | |
~CXFA_TextLayout () | |
void | Trace (cppgc::Visitor *visitor) const |
float | GetLayoutHeight () |
float | StartLayout (float fWidth) |
float | DoLayout (float fTextHeight) |
float | DoSplitLayout (size_t szBlockIndex, float fCalcHeight, float fTextHeight) |
float | Layout (const CFX_SizeF &size) |
CFX_SizeF | CalcSize (const CFX_SizeF &minSize, const CFX_SizeF &maxSize) |
void | ItemBlocks (const CFX_RectF &rtText, size_t szBlockIndex) |
bool | DrawString (CFX_RenderDevice *pFxDevice, const CFX_Matrix &mtDoc2Device, const CFX_RectF &rtClip, size_t szBlockIndex) |
bool | IsLoaded () const |
void | Unload () |
bool | HasBlock () const |
void | ClearBlocks () |
void | ResetHasBlock () |
WideString | GetLinkURLAtPoint (const CFX_PointF &point) |
Public Attributes | |
CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED | |
Definition at line 39 of file cxfa_textlayout.h.
|
default |
Definition at line 451 of file cxfa_textlayout.cpp.
|
inline |
Definition at line 63 of file cxfa_textlayout.h.
Referenced by CXFA_FFText::PerformLayout().
float CXFA_TextLayout::DoLayout | ( | float | fTextHeight | ) |
Definition at line 356 of file cxfa_textlayout.cpp.
float CXFA_TextLayout::DoSplitLayout | ( | size_t | szBlockIndex, |
float | fCalcHeight, | ||
float | fTextHeight ) |
Definition at line 364 of file cxfa_textlayout.cpp.
References GetLayoutHeight().
bool CXFA_TextLayout::DrawString | ( | CFX_RenderDevice * | pFxDevice, |
const CFX_Matrix & | mtDoc2Device, | ||
const CFX_RectF & | rtClip, | ||
size_t | szBlockIndex ) |
Definition at line 602 of file cxfa_textlayout.cpp.
References CFX_RectF::GetOuterRect(), CFGAS_TextPiece::iChars, CFX_RenderDevice::RestoreState(), CFX_RenderDevice::SaveState(), and CFX_RenderDevice::SetClip_Rect().
float CXFA_TextLayout::GetLayoutHeight | ( | ) |
Definition at line 308 of file cxfa_textlayout.cpp.
Referenced by DoSplitLayout().
WideString CXFA_TextLayout::GetLinkURLAtPoint | ( | const CFX_PointF & | point | ) |
Definition at line 111 of file cxfa_textlayout.cpp.
References fxcrt::WideString::WideString().
|
inline |
Definition at line 62 of file cxfa_textlayout.h.
Referenced by CXFA_FFText::IsLoaded(), and CXFA_FFText::PerformLayout().
|
inline |
Definition at line 60 of file cxfa_textlayout.h.
Referenced by CXFA_FFField::RenderCaption().
Definition at line 570 of file cxfa_textlayout.cpp.
References CFX_RectF::height.
float CXFA_TextLayout::Layout | ( | const CFX_SizeF & | size | ) |
Definition at line 469 of file cxfa_textlayout.cpp.
References Unload().
Referenced by CXFA_FFField::LayoutCaption(), and CXFA_FFField::RenderCaption().
|
inline |
Definition at line 64 of file cxfa_textlayout.h.
Referenced by CXFA_FFText::PerformLayout().
float CXFA_TextLayout::StartLayout | ( | float | fWidth | ) |
Definition at line 330 of file cxfa_textlayout.cpp.
References Unload().
void CXFA_TextLayout::Trace | ( | cppgc::Visitor * | visitor | ) | const |
Definition at line 98 of file cxfa_textlayout.cpp.
void CXFA_TextLayout::Unload | ( | ) |
Definition at line 106 of file cxfa_textlayout.cpp.
Referenced by Layout(), CXFA_FFNotify::OnValueChanged(), and StartLayout().
CXFA_TextLayout::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED |
Definition at line 41 of file cxfa_textlayout.h.