LibreOffice Module vcl (master) 1
Public Member Functions | Public Attributes | List of all members
ImplEntryType Struct Reference

#include <listbox.hxx>

Collaboration diagram for ImplEntryType:
[legend]

Public Member Functions

tools::Long getHeightWithMargin () const
 
 ImplEntryType (OUString aStr, Image aImage)
 
 ImplEntryType (OUString aStr)
 
SalLayoutGlyphsGetTextGlyphs (const OutputDevice *pOutputDevice)
 Computes maStr's text layout (glyphs), cached in maStrGlyphs. More...
 

Public Attributes

OUString maStr
 
SalLayoutGlyphs maStrGlyphs
 
Image maImage
 
void * mpUserData
 
bool mbIsSelected
 
ListBoxEntryFlags mnFlags
 
tools::Long mnHeight
 

Detailed Description

Definition at line 52 of file listbox.hxx.

Constructor & Destructor Documentation

◆ ImplEntryType() [1/2]

ImplEntryType::ImplEntryType ( OUString  aStr,
Image  aImage 
)
inline

Definition at line 64 of file listbox.hxx.

References aStr, mbIsSelected, mpUserData, and NONE.

◆ ImplEntryType() [2/2]

ImplEntryType::ImplEntryType ( OUString  aStr)
inline

Definition at line 74 of file listbox.hxx.

References aStr, mbIsSelected, mpUserData, and NONE.

Member Function Documentation

◆ getHeightWithMargin()

tools::Long ImplEntryType::getHeightWithMargin ( ) const

◆ GetTextGlyphs()

SalLayoutGlyphs * ImplEntryType::GetTextGlyphs ( const OutputDevice pOutputDevice)

Computes maStr's text layout (glyphs), cached in maStrGlyphs.

Definition at line 586 of file imp_listbox.cxx.

References GlyphItemsOnly, OutputDevice::ImplLayout(), SalLayoutGlyphs::IsValid(), maStr, and maStrGlyphs.

Referenced by ImplListBoxWindow::ImplUpdateEntryMetrics().

Member Data Documentation

◆ maImage

Image ImplEntryType::maImage

◆ maStr

OUString ImplEntryType::maStr

◆ maStrGlyphs

SalLayoutGlyphs ImplEntryType::maStrGlyphs

Definition at line 55 of file listbox.hxx.

Referenced by GetTextGlyphs().

◆ mbIsSelected

bool ImplEntryType::mbIsSelected

◆ mnFlags

ListBoxEntryFlags ImplEntryType::mnFlags

◆ mnHeight

tools::Long ImplEntryType::mnHeight

Definition at line 60 of file listbox.hxx.

Referenced by getHeightWithMargin(), and ImplListBoxWindow::ImplUpdateEntryMetrics().

◆ mpUserData

void* ImplEntryType::mpUserData

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