LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SalLayout Class Referenceabstract

#include <vcllayout.hxx>

Inheritance diagram for SalLayout:
[legend]
Collaboration diagram for SalLayout:
[legend]

Public Member Functions

virtual ~SalLayout ()
 
PointDrawBase ()
 
const PointDrawBase () const
 
PointDrawOffset ()
 
const PointDrawOffset () 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
 
int 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, long *pCaretXArray) const =0
 
virtual bool IsKashidaPosValid (int) const
 
virtual bool GetNextGlyph (const GlyphItem **pGlyph, Point &rPos, int &nStart, const PhysicalFontFace **pFallbackFont=nullptr, int *const pFallbackLevel=nullptr) const =0
 
virtual bool GetOutline (basegfx::B2DPolyPolygonVector &) const
 
bool GetBoundRect (tools::Rectangle &) const
 
virtual const SalLayoutGlyphsGetGlyphs () const
 

Protected Member Functions

 SalLayout ()
 

Protected Attributes

int mnMinCharPos
 
int mnEndCharPos
 
int mnUnitsPerPixel
 
int mnOrientation
 
Point maDrawOffset
 
Point maDrawBase
 

Private Member Functions

 SalLayout (const SalLayout &)=delete
 
SalLayoutoperator= (const SalLayout &)=delete
 

Detailed Description

Definition at line 64 of file vcllayout.hxx.

Constructor & Destructor Documentation

SalLayout::~SalLayout ( )
virtual

Definition at line 550 of file sallayout.cxx.

SalLayout::SalLayout ( )
protected

Definition at line 542 of file sallayout.cxx.

SalLayout::SalLayout ( const SalLayout )
privatedelete

Member Function Documentation

void SalLayout::AdjustLayout ( ImplLayoutArgs rArgs)
virtual
Point& SalLayout::DrawBase ( )
inline
const Point& SalLayout::DrawBase ( ) const
inline

Definition at line 70 of file vcllayout.hxx.

Point& SalLayout::DrawOffset ( )
inline
const Point& SalLayout::DrawOffset ( ) const
inline

Definition at line 72 of file vcllayout.hxx.

virtual void SalLayout::DrawText ( SalGraphics ) const
pure virtual
virtual DeviceCoordinate SalLayout::FillDXArray ( DeviceCoordinate pDXArray) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

Referenced by MultiSalLayout::GetTextBreak().

bool SalLayout::GetBoundRect ( tools::Rectangle rRect) const
virtual void SalLayout::GetCaretPositions ( int  nArraySize,
long *  pCaretXArray 
) const
pure virtual
Point SalLayout::GetDrawPosition ( const Point rRelative = Point(0,0)) const
const SalLayoutGlyphs * SalLayout::GetGlyphs ( ) const
virtual

Reimplemented in GenericSalLayout.

Definition at line 1579 of file sallayout.cxx.

Referenced by StatusBar::ImplDrawItem().

virtual bool SalLayout::GetNextGlyph ( const GlyphItem **  pGlyph,
Point rPos,
int nStart,
const PhysicalFontFace **  pFallbackFont = nullptr,
int *const  pFallbackLevel = nullptr 
) const
pure virtual
int SalLayout::GetOrientation ( ) const
inline

Definition at line 81 of file vcllayout.hxx.

bool SalLayout::GetOutline ( basegfx::B2DPolyPolygonVector rVector) const
virtual
virtual sal_Int32 SalLayout::GetTextBreak ( DeviceCoordinate  nMaxWidth,
DeviceCoordinate  nCharExtra,
int  nFactor 
) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

virtual DeviceCoordinate SalLayout::GetTextWidth ( ) const
inlinevirtual
int SalLayout::GetUnitsPerPixel ( ) const
inline
virtual void SalLayout::InitFont ( ) const
inlinevirtual
virtual bool SalLayout::IsKashidaPosValid ( int  ) const
inlinevirtual

Reimplemented in GenericSalLayout, and MultiSalLayout.

Definition at line 88 of file vcllayout.hxx.

virtual bool SalLayout::LayoutText ( ImplLayoutArgs ,
const SalLayoutGlyphs  
)
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

SalLayout& SalLayout::operator= ( const SalLayout )
privatedelete

Member Data Documentation

Point SalLayout::maDrawBase
protected
Point SalLayout::maDrawOffset
mutableprotected
int SalLayout::mnEndCharPos
protected
int SalLayout::mnMinCharPos
protected
int SalLayout::mnOrientation
protected

Definition at line 112 of file vcllayout.hxx.

Referenced by AdjustLayout(), and GetDrawPosition().

int SalLayout::mnUnitsPerPixel
protected

The documentation for this class was generated from the following files: