LibreOffice Module vcl (master) 1
|
#include <vcllayout.hxx>
Public Member Functions | |
virtual | ~SalLayout () |
DevicePoint & | DrawBase () |
const DevicePoint & | DrawBase () const |
Point & | DrawOffset () |
const Point & | DrawOffset () const |
DevicePoint | GetDrawPosition (const DevicePoint &rRelative=DevicePoint(0, 0)) const |
virtual bool | LayoutText (vcl::text::ImplLayoutArgs &, const SalLayoutGlyphsImpl *)=0 |
virtual void | AdjustLayout (vcl::text::ImplLayoutArgs &) |
virtual void | InitFont () const |
virtual void | DrawText (SalGraphics &) const =0 |
Degree10 | GetOrientation () const |
void | SetTextRenderModeForResolutionIndependentLayout (bool bTextRenderModeForResolutionIndependentLayout) |
bool | GetTextRenderModeForResolutionIndependentLayout () const |
virtual sal_Int32 | GetTextBreak (DeviceCoordinate nMaxWidth, DeviceCoordinate nCharExtra, int nFactor) const =0 |
virtual DeviceCoordinate | FillDXArray (std::vector< DeviceCoordinate > *pDXArray, const OUString &rStr) const =0 |
virtual DeviceCoordinate | GetTextWidth () const |
virtual void | GetCaretPositions (int nArraySize, sal_Int32 *pCaretXArray) const =0 |
virtual bool | IsKashidaPosValid (int, int) const =0 |
virtual bool | GetNextGlyph (const GlyphItem **pGlyph, DevicePoint &rPos, int &nStart, const LogicalFontInstance **ppGlyphFont=nullptr) const =0 |
virtual bool | GetOutline (basegfx::B2DPolyPolygonVector &) const |
bool | GetBoundRect (tools::Rectangle &) const |
virtual SalLayoutGlyphs | GetGlyphs () const |
Protected Member Functions | |
SalLayout () | |
Protected Attributes | |
int | mnMinCharPos |
int | mnEndCharPos |
LanguageTag | maLanguageTag |
Degree10 | mnOrientation |
Point | maDrawOffset |
DevicePoint | maDrawBase |
bool | mbTextRenderModeForResolutionIndependentLayout |
Private Member Functions | |
SalLayout (const SalLayout &)=delete | |
SalLayout & | operator= (const SalLayout &)=delete |
Definition at line 67 of file vcllayout.hxx.
|
virtual |
Definition at line 133 of file sallayout.cxx.
|
protected |
Definition at line 124 of file sallayout.cxx.
References LANGUAGE_DONTKNOW, and maLanguageTag.
|
privatedelete |
|
virtual |
Reimplemented in GenericSalLayout, and MultiSalLayout.
Definition at line 136 of file sallayout.cxx.
References maLanguageTag, vcl::text::ImplLayoutArgs::maLanguageTag, mnEndCharPos, vcl::text::ImplLayoutArgs::mnEndCharPos, mnMinCharPos, vcl::text::ImplLayoutArgs::mnMinCharPos, mnOrientation, and vcl::text::ImplLayoutArgs::mnOrientation.
Referenced by GenericSalLayout::AdjustLayout(), and MultiSalLayout::AdjustLayout().
|
inline |
Definition at line 72 of file vcllayout.hxx.
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 73 of file vcllayout.hxx.
|
inline |
Definition at line 74 of file vcllayout.hxx.
References Point.
Referenced by vcl::PDFWriterImpl::drawRelief(), MultiSalLayout::DrawText(), MultiSalLayout::GetOutline(), OutputDevice::ImplDrawRotateText(), and OutputDevice::ImplDrawSpecialText().
|
inline |
Definition at line 75 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 217 of file sallayout.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), GlyphItem::GetGlyphBoundRect(), GetNextGlyph(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), tools::Rectangle::IsEmpty(), tools::Rectangle::SetEmpty(), and tools::Rectangle::Union().
Referenced by OutputDevice::ImplDrawRotateText().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
Referenced by MultiSalLayout::GetCaretPositions().
DevicePoint SalLayout::GetDrawPosition | ( | const DevicePoint & | rRelative = DevicePoint(0,0) | ) | const |
Definition at line 144 of file sallayout.cxx.
References basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), maDrawBase, maDrawOffset, mbTextRenderModeForResolutionIndependentLayout, mnOrientation, and toRadians().
Referenced by vcl::PDFWriterImpl::drawLayout(), GenericSalLayout::GetNextGlyph(), OutputDevice::ImplDrawTextLines(), and OutputDevice::ImplGetTextBoundRect().
|
virtual |
Reimplemented in MultiSalLayout, and GenericSalLayout.
Definition at line 253 of file sallayout.cxx.
Referenced by TrackFontMappingUse().
|
pure virtual |
Implemented in MultiSalLayout, and GenericSalLayout.
Referenced by vcl::PDFWriterImpl::drawLayout(), GetBoundRect(), GetOutline(), OutputDevice::ImplDrawEmphasisMarks(), and OutputDevice::ImplDrawTextLines().
|
inline |
Definition at line 83 of file vcllayout.hxx.
|
virtual |
Reimplemented in MultiSalLayout.
Definition at line 184 of file sallayout.cxx.
References basegfx::B2DPolyPolygon::count(), basegfx::utils::createTranslateB2DHomMatrix(), GlyphItem::GetGlyphOutline(), GetNextGlyph(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), and basegfx::B2DPolyPolygon::transform().
Referenced by MultiSalLayout::GetOutline().
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
|
inline |
Definition at line 90 of file vcllayout.hxx.
|
inlinevirtual |
Reimplemented in GenericSalLayout.
Definition at line 98 of file vcllayout.hxx.
Referenced by vcl::PDFWriterImpl::drawLayout(), OutputDevice::ImplDrawRotateText(), OutputDevice::ImplDrawTextBackground(), OutputDevice::ImplDrawTextLines(), and OutputDevice::ImplGetTextBoundRect().
|
inlinevirtual |
Reimplemented in MultiSalLayout.
Definition at line 80 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
Implemented in GenericSalLayout, and MultiSalLayout.
|
pure virtual |
Implemented in GenericSalLayout, and MultiSalLayout.
|
inline |
Definition at line 85 of file vcllayout.hxx.
|
protected |
Definition at line 126 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), GetDrawPosition(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
mutableprotected |
Definition at line 125 of file vcllayout.hxx.
Referenced by MultiSalLayout::DrawText(), GetDrawPosition(), MultiSalLayout::GetNextGlyph(), and MultiSalLayout::GetOutline().
|
protected |
Definition at line 121 of file vcllayout.hxx.
Referenced by AdjustLayout(), and GenericSalLayout::GetCharWidths().
|
protected |
Definition at line 128 of file vcllayout.hxx.
Referenced by GetDrawPosition().
|
protected |
Definition at line 120 of file vcllayout.hxx.
Referenced by AdjustLayout(), GenericSalLayout::ApplyDXArray(), MultiSalLayout::FillDXArray(), GenericSalLayout::GetCharWidths(), GenericSalLayout::GetNextGlyph(), GenericSalLayout::GetTextBreak(), MultiSalLayout::GetTextBreak(), and MultiSalLayout::ImplAdjustMultiLayout().
|
protected |
Definition at line 119 of file vcllayout.hxx.
Referenced by AdjustLayout(), GenericSalLayout::ApplyDXArray(), MultiSalLayout::FillDXArray(), GenericSalLayout::GetCaretPositions(), GenericSalLayout::GetCharWidths(), GenericSalLayout::GetNextGlyph(), GenericSalLayout::GetTextBreak(), MultiSalLayout::GetTextBreak(), and MultiSalLayout::ImplAdjustMultiLayout().
|
protected |
Definition at line 123 of file vcllayout.hxx.
Referenced by AdjustLayout(), and GetDrawPosition().