LibreOffice Module vcl (master)
1
|
#include <vcllayout.hxx>
Public Member Functions | |
virtual | ~SalLayout () |
Point & | DrawBase () |
const Point & | DrawBase () const |
Point & | DrawOffset () |
const Point & | DrawOffset () const |
Point | GetDrawPosition (const Point &rRelative=Point(0, 0)) const |
virtual bool | LayoutText (ImplLayoutArgs &, const SalLayoutGlyphs *)=0 |
virtual void | AdjustLayout (ImplLayoutArgs &) |
virtual void | InitFont () const |
virtual void | DrawText (SalGraphics &) const =0 |
int | GetUnitsPerPixel () const |
Degree10 | GetOrientation () const |
virtual sal_Int32 | GetTextBreak (DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const =0 |
virtual DeviceCoordinate | FillDXArray (DeviceCoordinate *pDXArray) const =0 |
virtual DeviceCoordinate | GetTextWidth () const |
virtual void | GetCaretPositions (int nArraySize, tools::Long *pCaretXArray) const =0 |
virtual bool | IsKashidaPosValid (int) const |
virtual bool | GetNextGlyph (const GlyphItem **pGlyph, Point &rPos, int &nStart, const PhysicalFontFace **pFallbackFont=nullptr) const =0 |
virtual bool | GetOutline (basegfx::B2DPolyPolygonVector &) const |
bool | GetBoundRect (tools::Rectangle &) const |
virtual const SalLayoutGlyphs * | GetGlyphs () const |
Protected Member Functions | |
SalLayout () | |
Protected Attributes | |
int | mnMinCharPos |
int | mnEndCharPos |
int | mnUnitsPerPixel |
Degree10 | mnOrientation |
Point | maDrawOffset |
Point | maDrawBase |
Private Member Functions | |
SalLayout (const SalLayout &)=delete | |
SalLayout & | operator= (const SalLayout &)=delete |
Definition at line 65 of file vcllayout.hxx.
|
virtual |
Definition at line 550 of file sallayout.cxx.
|
protected |
Definition at line 542 of file sallayout.cxx.
|
privatedelete |
|
virtual |
Reimplemented in GenericSalLayout, and MultiSalLayout.
Definition at line 553 of file sallayout.cxx.
References ImplLayoutArgs::mnEndCharPos, mnEndCharPos, ImplLayoutArgs::mnMinCharPos, mnMinCharPos, ImplLayoutArgs::mnOrientation, and mnOrientation.
Referenced by MultiSalLayout::AdjustLayout(), and GenericSalLayout::AdjustLayout().
|
inline |
Definition at line 70 of file vcllayout.hxx.
References Point.
Referenced by vcl::PDFWriterImpl::drawShadow(), MultiSalLayout::DrawText(), MultiSalLayout::GetOutline(), OutputDevice::ImplDrawEmphasisMarks(), OutputDevice::ImplDrawRotateText(), OutputDevice::ImplDrawSpecialText(), OutputDevice::ImplDrawText(), OutputDevice::ImplDrawTextBackground(), OutputDevice::ImplDrawTextDirect(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 71 of file vcllayout.hxx.
References Point.
|
inline |
Definition at line 72 of file vcllayout.hxx.
References Point.
Referenced by vcl::PDFWriterImpl::drawRelief(), MultiSalLayout::DrawText(), MultiSalLayout::GetOutline(), OutputDevice::ImplDrawRotateText(), and OutputDevice::ImplDrawSpecialText().
|
inline |
Definition at line 73 of file vcllayout.hxx.
References Point.
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by MultiSalLayout::DrawText(), OutputDevice::ImplDrawRotateText(), and OutputDevice::ImplDrawTextDirect().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by MultiSalLayout::GetTextBreak().
bool SalLayout::GetBoundRect | ( | tools::Rectangle & | rRect | ) | const |
Definition at line 622 of file sallayout.cxx.
References GlyphItem::GetGlyphBoundRect(), GetNextGlyph(), tools::Rectangle::IsEmpty(), Point, tools::Rectangle::SetEmpty(), and tools::Rectangle::Union().
Referenced by OutputDevice::ImplDrawRotateText().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by MultiSalLayout::GetCaretPositions().
Definition at line 560 of file sallayout.cxx.
References maDrawBase, maDrawOffset, mnOrientation, Point, and toRadians().
Referenced by vcl::PDFWriterImpl::drawLayout(), GenericSalLayout::GetNextGlyph(), OutputDevice::ImplDrawTextLines(), and OutputDevice::ImplGetTextBoundRect().
|
virtual |
Reimplemented in GenericSalLayout.
Definition at line 1579 of file sallayout.cxx.
Referenced by StatusBar::ImplDrawItem().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by vcl::PDFWriterImpl::drawLayout(), GetBoundRect(), GetOutline(), OutputDevice::ImplDrawEmphasisMarks(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 82 of file vcllayout.hxx.
|
virtual |
Reimplemented in MultiSalLayout.
Definition at line 590 of file sallayout.cxx.
References basegfx::B2DPolyPolygon::count(), basegfx::utils::createTranslateB2DHomMatrix(), GlyphItem::GetGlyphOutline(), GetNextGlyph(), Point, and basegfx::B2DPolyPolygon::transform().
Referenced by MultiSalLayout::GetOutline().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
|
inlinevirtual |
Reimplemented in GenericSalLayout.
Definition at line 87 of file vcllayout.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawRotateText(), OutputDevice::ImplDrawTextBackground(), OutputDevice::ImplDrawTextLines(), and OutputDevice::ImplGetTextBoundRect().
|
inline |
Definition at line 81 of file vcllayout.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), MultiSalLayout::GetTextBreak(), OutputDevice::ImplDrawTextBackground(), and OutputDevice::ImplDrawTextLines().
|
inlinevirtual |
Reimplemented in MultiSalLayout.
Definition at line 78 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
inlinevirtual |
Reimplemented in GenericSalLayout, and MultiSalLayout.
Definition at line 89 of file vcllayout.hxx.
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
|
protected |
Definition at line 115 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), GetDrawPosition(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
mutableprotected |
Definition at line 114 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), GetDrawPosition(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
protected |
Definition at line 109 of file vcllayout.hxx.
Referenced by AdjustLayout(), MultiSalLayout::AdjustLayout(), GenericSalLayout::ApplyDXArray(), MultiSalLayout::FillDXArray(), GenericSalLayout::GetCharWidths(), GenericSalLayout::GetNextGlyph(), MultiSalLayout::GetTextBreak(), and GenericSalLayout::GetTextBreak().
|
protected |
Definition at line 108 of file vcllayout.hxx.
Referenced by AdjustLayout(), MultiSalLayout::AdjustLayout(), GenericSalLayout::ApplyDXArray(), MultiSalLayout::FillDXArray(), GenericSalLayout::GetCaretPositions(), GenericSalLayout::GetCharWidths(), GenericSalLayout::GetNextGlyph(), MultiSalLayout::GetTextBreak(), and GenericSalLayout::GetTextBreak().
|
protected |
Definition at line 112 of file vcllayout.hxx.
Referenced by AdjustLayout(), and GetDrawPosition().
|
protected |
Definition at line 111 of file vcllayout.hxx.
Referenced by MultiSalLayout::AdjustLayout(), MultiSalLayout::FillDXArray(), MultiSalLayout::GetCaretPositions(), GenericSalLayout::GetNextGlyph(), MultiSalLayout::GetTextBreak(), GenericSalLayout::Justify(), and MultiSalLayout::MultiSalLayout().