LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwDropCapCache Class Reference

Public Member Functions

 SwDropCapCache ()=default
 
void CalcFontSize (SwDropPortion *pDrop, SwTextFormatInfo &rInf)
 

Private Attributes

const void * m_aFontCacheId [DROP_CACHE_SIZE] = {}
 
OUString m_aText [DROP_CACHE_SIZE]
 
sal_uInt16 m_aFactor [DROP_CACHE_SIZE]
 
sal_uInt16 m_aWishedHeight [DROP_CACHE_SIZE] = {}
 
short m_aDescent [DROP_CACHE_SIZE]
 
sal_uInt16 m_nIndex = 0
 

Detailed Description

Definition at line 698 of file txtdrop.cxx.

Constructor & Destructor Documentation

◆ SwDropCapCache()

SwDropCapCache::SwDropCapCache ( )
default

Member Function Documentation

◆ CalcFontSize()

void SwDropCapCache::CalcFontSize ( SwDropPortion pDrop,
SwTextFormatInfo rInf 
)

Definition at line 716 of file txtdrop.cxx.

References aStr, tools::Rectangle::Bottom(), SwFont::CheckFontCacheId(), SwFont::ChgPhysFnt(), DROP_CACHE_SIZE, DROP_CAP_PUNCTUATION, IDocumentSettingAccess::get(), SwFont::GetActual(), SwFont::GetActualFont(), SwFont::GetAscent(), SwFont::GetBottomBorder(), SwFont::GetBottomBorderSpace(), Application::GetDefaultDevice(), SwTextFrame::GetDoc(), SwTextFormatInfo::GetDropFormat(), SwDropPortion::GetDropHeight(), SwDropPortionPart::GetFollow(), OutputDevice::GetFont(), SwDropPortionPart::GetFont(), SwFont::GetFontCacheId(), tools::Rectangle::GetHeight(), SwFont::GetHeight(), SwDoc::getIDocumentSettingAccess(), SwTextSizeInfo::GetIdx(), SwDropPortionPart::GetLen(), SwLinePortion::GetLen(), OutputDevice::GetMapMode(), SwTextSizeInfo::GetOut(), vcl::Window::GetOutDev(), SwDropPortion::GetPart(), SwFont::GetPropr(), SwTextSizeInfo::GetText(), OutputDevice::GetTextBoundRect(), SwTextSizeInfo::GetTextFrame(), SwFont::GetTopBorder(), SwFont::GetTopBorderSpace(), SwTextSizeInfo::GetVsh(), SwFormatDrop::GetWholeWord(), SwViewShell::GetWin(), SwFont::HasBorder(), tools::Rectangle::IsEmpty(), SwFrame::IsVertical(), tools::Rectangle::Left(), m_aDescent, m_aFactor, m_aFontCacheId, m_aText, m_aWishedHeight, m_nIndex, pOut, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), SwFont::SetBottomBorderDist(), OutputDevice::SetFont(), tools::Rectangle::setHeight(), SwFont::SetLeftBorderDist(), OutputDevice::SetMapMode(), tools::Rectangle::SetPosY(), SwFont::SetProportion(), SwFont::SetRightBorderDist(), SwFont::SetSize(), tools::Rectangle::SetTop(), SwFont::SetTopBorderDist(), SwDropPortion::SetY(), tools::Rectangle::Top(), and tools::Rectangle::Union().

Referenced by SwDropPortion::Format().

Member Data Documentation

◆ m_aDescent

short SwDropCapCache::m_aDescent[DROP_CACHE_SIZE]
private

Definition at line 704 of file txtdrop.cxx.

Referenced by CalcFontSize().

◆ m_aFactor

sal_uInt16 SwDropCapCache::m_aFactor[DROP_CACHE_SIZE]
private

Definition at line 702 of file txtdrop.cxx.

Referenced by CalcFontSize().

◆ m_aFontCacheId

const void* SwDropCapCache::m_aFontCacheId[DROP_CACHE_SIZE] = {}
private

Definition at line 700 of file txtdrop.cxx.

Referenced by CalcFontSize().

◆ m_aText

OUString SwDropCapCache::m_aText[DROP_CACHE_SIZE]
private

Definition at line 701 of file txtdrop.cxx.

Referenced by CalcFontSize().

◆ m_aWishedHeight

sal_uInt16 SwDropCapCache::m_aWishedHeight[DROP_CACHE_SIZE] = {}
private

Definition at line 703 of file txtdrop.cxx.

Referenced by CalcFontSize().

◆ m_nIndex

sal_uInt16 SwDropCapCache::m_nIndex = 0
private

Definition at line 705 of file txtdrop.cxx.

Referenced by CalcFontSize().


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