LibreOffice Module sw (master)
1
|
Public Member Functions | |
SwDropCapCache ()=default | |
void | CalcFontSize (SwDropPortion *pDrop, SwTextFormatInfo &rInf) |
Private Attributes | |
const void * | aFontCacheId [DROP_CACHE_SIZE] = {} |
OUString | aText [DROP_CACHE_SIZE] |
sal_uInt16 | aFactor [DROP_CACHE_SIZE] |
sal_uInt16 | aWishedHeight [DROP_CACHE_SIZE] = {} |
short | aDescent [DROP_CACHE_SIZE] |
sal_uInt16 | nIndex = 0 |
Definition at line 697 of file txtdrop.cxx.
|
default |
void SwDropCapCache::CalcFontSize | ( | SwDropPortion * | pDrop, |
SwTextFormatInfo & | rInf | ||
) |
Definition at line 715 of file txtdrop.cxx.
References aDescent, aFactor, aFontCacheId, aStr, aText, aWishedHeight, tools::Rectangle::Bottom(), SwFont::CheckFontCacheId(), SwFont::ChgPhysFnt(), DROP_CACHE_SIZE, SwFont::GetActual(), SwFont::GetActualFont(), SwFont::GetAscent(), SwFont::GetBottomBorder(), SwFont::GetBottomBorderSpace(), Application::GetDefaultDevice(), SwDropPortion::GetDropHeight(), SwDropPortionPart::GetFollow(), OutputDevice::GetFont(), SwDropPortionPart::GetFont(), SwFont::GetFontCacheId(), tools::Rectangle::GetHeight(), SwFont::GetHeight(), SwTextSizeInfo::GetIdx(), SwLinePortion::GetLen(), OutputDevice::GetMapMode(), SwTextSizeInfo::GetOut(), SwDropPortion::GetPart(), SwFont::GetPropr(), SwTextSizeInfo::GetText(), OutputDevice::GetTextBoundRect(), SwTextSizeInfo::GetTextFrame(), SwFont::GetTopBorder(), SwFont::GetTopBorderSpace(), SwTextSizeInfo::GetVsh(), SwViewShell::GetWin(), tools::Rectangle::getY(), SwFont::HasBorder(), tools::Rectangle::IsEmpty(), SwFrame::IsVertical(), tools::Rectangle::Left(), nIndex, Point, pOut, tools::Rectangle::Right(), SwFont::SetBottomBorderDist(), OutputDevice::SetFont(), tools::Rectangle::setHeight(), SwFont::SetLeftBorderDist(), OutputDevice::SetMapMode(), SwFont::SetProportion(), SwFont::SetRightBorderDist(), SwFont::SetSize(), SwFont::SetTopBorderDist(), tools::Rectangle::setY(), SwDropPortion::SetY(), tools::Rectangle::Top(), tools::Rectangle::Union(), and USHRT_MAX.
Referenced by SwDropPortion::Format().
|
private |
Definition at line 703 of file txtdrop.cxx.
Referenced by CalcFontSize().
|
private |
Definition at line 701 of file txtdrop.cxx.
Referenced by CalcFontSize().
|
private |
Definition at line 699 of file txtdrop.cxx.
Referenced by CalcFontSize().
|
private |
Definition at line 700 of file txtdrop.cxx.
Referenced by CalcFontSize().
|
private |
Definition at line 702 of file txtdrop.cxx.
Referenced by CalcFontSize().
|
private |
Definition at line 704 of file txtdrop.cxx.
Referenced by CalcFontSize().