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 ()
 
DevicePointDrawBase ()
 
const DevicePointDrawBase () const
 
PointDrawOffset ()
 
const PointDrawOffset () 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
 
SalLayoutoperator= (const SalLayout &)=delete
 

Detailed Description

Definition at line 67 of file vcllayout.hxx.

Constructor & Destructor Documentation

◆ ~SalLayout()

SalLayout::~SalLayout ( )
virtual

Definition at line 133 of file sallayout.cxx.

◆ SalLayout() [1/2]

SalLayout::SalLayout ( )
protected

Definition at line 124 of file sallayout.cxx.

References LANGUAGE_DONTKNOW, and maLanguageTag.

◆ SalLayout() [2/2]

SalLayout::SalLayout ( const SalLayout )
privatedelete

Member Function Documentation

◆ AdjustLayout()

void SalLayout::AdjustLayout ( vcl::text::ImplLayoutArgs rArgs)
virtual

◆ DrawBase() [1/2]

DevicePoint & SalLayout::DrawBase ( )
inline

◆ DrawBase() [2/2]

const DevicePoint & SalLayout::DrawBase ( ) const
inline

Definition at line 73 of file vcllayout.hxx.

◆ DrawOffset() [1/2]

Point & SalLayout::DrawOffset ( )
inline

◆ DrawOffset() [2/2]

const Point & SalLayout::DrawOffset ( ) const
inline

Definition at line 75 of file vcllayout.hxx.

References Point.

◆ DrawText()

virtual void SalLayout::DrawText ( SalGraphics ) const
pure virtual

◆ FillDXArray()

virtual DeviceCoordinate SalLayout::FillDXArray ( std::vector< DeviceCoordinate > *  pDXArray,
const OUString &  rStr 
) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

Referenced by MultiSalLayout::GetTextBreak().

◆ GetBoundRect()

bool SalLayout::GetBoundRect ( tools::Rectangle rRect) const

◆ GetCaretPositions()

virtual void SalLayout::GetCaretPositions ( int  nArraySize,
sal_Int32 *  pCaretXArray 
) const
pure virtual

◆ GetDrawPosition()

DevicePoint SalLayout::GetDrawPosition ( const DevicePoint rRelative = DevicePoint(0,0)) const

◆ GetGlyphs()

SalLayoutGlyphs SalLayout::GetGlyphs ( ) const
virtual

Reimplemented in MultiSalLayout, and GenericSalLayout.

Definition at line 253 of file sallayout.cxx.

Referenced by TrackFontMappingUse().

◆ GetNextGlyph()

virtual bool SalLayout::GetNextGlyph ( const GlyphItem **  pGlyph,
DevicePoint rPos,
int nStart,
const LogicalFontInstance **  ppGlyphFont = nullptr 
) const
pure virtual

◆ GetOrientation()

Degree10 SalLayout::GetOrientation ( ) const
inline

Definition at line 83 of file vcllayout.hxx.

◆ GetOutline()

bool SalLayout::GetOutline ( basegfx::B2DPolyPolygonVector rVector) const
virtual

◆ GetTextBreak()

virtual sal_Int32 SalLayout::GetTextBreak ( DeviceCoordinate  nMaxWidth,
DeviceCoordinate  nCharExtra,
int  nFactor 
) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

◆ GetTextRenderModeForResolutionIndependentLayout()

bool SalLayout::GetTextRenderModeForResolutionIndependentLayout ( ) const
inline

Definition at line 90 of file vcllayout.hxx.

◆ GetTextWidth()

virtual DeviceCoordinate SalLayout::GetTextWidth ( ) const
inlinevirtual

◆ InitFont()

virtual void SalLayout::InitFont ( ) const
inlinevirtual

◆ IsKashidaPosValid()

virtual bool SalLayout::IsKashidaPosValid ( int  ,
int   
) const
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

◆ LayoutText()

virtual bool SalLayout::LayoutText ( vcl::text::ImplLayoutArgs ,
const SalLayoutGlyphsImpl  
)
pure virtual

Implemented in GenericSalLayout, and MultiSalLayout.

◆ operator=()

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

◆ SetTextRenderModeForResolutionIndependentLayout()

void SalLayout::SetTextRenderModeForResolutionIndependentLayout ( bool  bTextRenderModeForResolutionIndependentLayout)
inline

Definition at line 85 of file vcllayout.hxx.

Member Data Documentation

◆ maDrawBase

DevicePoint SalLayout::maDrawBase
protected

◆ maDrawOffset

Point SalLayout::maDrawOffset
mutableprotected

◆ maLanguageTag

LanguageTag SalLayout::maLanguageTag
protected

Definition at line 121 of file vcllayout.hxx.

Referenced by AdjustLayout(), and GenericSalLayout::GetCharWidths().

◆ mbTextRenderModeForResolutionIndependentLayout

bool SalLayout::mbTextRenderModeForResolutionIndependentLayout
protected

Definition at line 128 of file vcllayout.hxx.

Referenced by GetDrawPosition().

◆ mnEndCharPos

int SalLayout::mnEndCharPos
protected

◆ mnMinCharPos

int SalLayout::mnMinCharPos
protected

◆ mnOrientation

Degree10 SalLayout::mnOrientation
protected

Definition at line 123 of file vcllayout.hxx.

Referenced by AdjustLayout(), and GetDrawPosition().


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