26#include <osl/diagnose.h>
44 rItemSet.
Put( aWeightItem );
50 rItemSet.
Put( aAttr );
64 rItemSet.
Put( aUndItem );
70 OSL_ENSURE(
nIndex <
nSize,
"*LotusFontBuffer::SetName(): Array too small!" );
76 if( pEntry->
nType >= 0 )
83 OSL_ENSURE(
nIndex <
nSize,
"*LotusFontBuffer::SetHeight(): Array too small!" );
90 OSL_ENSURE(
nIndex <
nSize,
"*LotusFontBuffer::SetType(): Array too small!" );
105 rtl_TextEncoding eCharSet = RTL_TEXTENCODING_DONTKNOW;
107 switch( pEntry->
nType )
121 eCharSet = RTL_TEXTENCODING_SYMBOL;
void Fill(const sal_uInt8 nIndex, SfxItemSet &rItemSet)
void SetHeight(const sal_uInt16 nIndex, const sal_uInt16 nHeight)
static const sal_uInt16 nSize
void SetType(const sal_uInt16 nIndex, const sal_uInt16 nType)
static void MakeFont(ENTRY *pEntry)
void SetName(const sal_uInt16 nIndex, const OUString &rName)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
constexpr TypedWhichId< SvxFontHeightItem > ATTR_FONT_HEIGHT(101)
constexpr TypedWhichId< SvxPostureItem > ATTR_FONT_POSTURE(103)
constexpr TypedWhichId< SvxWeightItem > ATTR_FONT_WEIGHT(102)
constexpr TypedWhichId< SvxFontItem > ATTR_FONT(100)
constexpr TypedWhichId< SvxUnderlineItem > ATTR_FONT_UNDERLINE(104)
void Height(std::unique_ptr< SvxFontHeightItem > pNew)
std::optional< OUString > xTmpName
std::unique_ptr< SvxFontHeightItem > pHeight
std::unique_ptr< SvxFontItem > pFont
void Type(const sal_uInt16 nNew)
void TmpName(const OUString &rNew)