|
LibreOffice Module editeng (master) 1
|
This item describes a Font. More...
#include <fontitem.hxx>
Public Member Functions | |
| SvxFontItem (const sal_uInt16 nId) | |
| SvxFontItem (const FontFamily eFam, OUString aFamilyName, OUString aStyleName, const FontPitch eFontPitch, const rtl_TextEncoding eFontTextEncoding, const sal_uInt16 nId) | |
| virtual bool | operator== (const SfxPoolItem &rItem) const override |
| bool | operator< (const SfxPoolItem &rCmp) const override |
| virtual SvxFontItem * | Clone (SfxItemPool *pPool=nullptr) const override |
| virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override |
| virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override |
| virtual bool | GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override |
| void | SetFamilyName (const OUString &rFamilyName) |
| const OUString & | GetFamilyName () const |
| void | SetStyleName (const OUString &rStyleName) |
| const OUString & | GetStyleName () const |
| void | SetFamily (FontFamily _eFamily) |
| FontFamily | GetFamily () const |
| void | SetPitch (FontPitch _ePitch) |
| FontPitch | GetPitch () const |
| void | SetCharSet (rtl_TextEncoding _eEncoding) |
| rtl_TextEncoding | GetCharSet () const |
| void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
Public Member Functions inherited from SfxPoolItem | |
| void | AddRef (sal_uInt32 n=1) const |
| virtual | ~SfxPoolItem () |
| void | SetWhich (sal_uInt16 nId) |
| sal_uInt16 | Which () const |
| T & | StaticWhichCast (TypedWhichId< T > nId) |
| const T & | StaticWhichCast (TypedWhichId< T > nId) const |
| T * | DynamicWhichCast (TypedWhichId< T > nId) |
| const T * | DynamicWhichCast (TypedWhichId< T > nId) const |
| virtual bool | operator== (const SfxPoolItem &) const=0 |
| bool | operator!= (const SfxPoolItem &rItem) const |
| virtual bool | operator< (const SfxPoolItem &) const |
| virtual bool | IsSortable () const |
| virtual bool | HasLookup () const |
| virtual lookup_iterator | Lookup (lookup_iterator, lookup_iterator end) const |
| virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const |
| virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
| virtual bool | HasMetrics () const |
| virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const |
| virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) |
| virtual SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
| std::unique_ptr< SfxPoolItem > | CloneSetWhich (sal_uInt16 nNewWhich) const |
| std::unique_ptr< T > | CloneSetWhich (TypedWhichId< T > nId) const |
| sal_uInt32 | GetRefCount () const |
| SfxItemKind | GetKind () const |
| virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
| virtual boost::property_tree::ptree | dumpAsJSON () const |
| virtual bool | IsVoidItem () const |
Static Public Member Functions | |
| static SfxPoolItem * | CreateDefault () |
Private Attributes | |
| OUString | aFamilyName |
| OUString | aStyleName |
| FontFamily | eFamily |
| FontPitch | ePitch |
| rtl_TextEncoding | eTextEncoding |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
| typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxPoolItem | |
| SfxPoolItem (sal_uInt16 nWhich=0) | |
| SfxPoolItem (const SfxPoolItem &rCopy) | |
This item describes a Font.
Definition at line 29 of file fontitem.hxx.
|
explicit |
Definition at line 179 of file textitem.cxx.
References eFamily, ePitch, eTextEncoding, FAMILY_SWISS, nId, and PITCH_VARIABLE.
Referenced by Clone(), and CreateDefault().
| SvxFontItem::SvxFontItem | ( | const FontFamily | eFam, |
| OUString | aFamilyName, | ||
| OUString | aStyleName, | ||
| const FontPitch | eFontPitch, | ||
| const rtl_TextEncoding | eFontTextEncoding, | ||
| const sal_uInt16 | nId | ||
| ) |
Definition at line 188 of file textitem.cxx.
References aName, eFamily, ePitch, eTextEncoding, and nId.
|
overridevirtual |
|
static |
Definition at line 88 of file textitem.cxx.
References SvxFontItem().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 364 of file textitem.cxx.
References aFamilyName, aStyleName, eFamily, ePitch, eTextEncoding, and SfxPoolItem::Which().
|
inline |
Definition at line 99 of file fontitem.hxx.
Referenced by CreateFont(), SvxUnoFontDescriptor::FillFromItemSet(), operator<(), ImpEditEngine::SeekCursor(), EditCharAttribFont::SetFont(), legacy::SvxFont::Store(), and ImpEditEngine::WriteRTF().
|
inline |
Definition at line 81 of file fontitem.hxx.
Referenced by CreateFont(), SvxUnoFontDescriptor::FillFromItemSet(), SvxRTFParser::GetFont(), operator<(), ImpEditEngine::SeekCursor(), EditCharAttribFont::SetFont(), legacy::SvxFont::Store(), and ImpEditEngine::WriteRTF().
|
inline |
Definition at line 63 of file fontitem.hxx.
Referenced by CreateFont(), SvxUnoFontDescriptor::FillFromItemSet(), operator<(), ImpEditEngine::SeekCursor(), EditCharAttribFont::SetFont(), legacy::SvxFont::Store(), and ImpEditEngine::WriteRTF().
|
inline |
Definition at line 90 of file fontitem.hxx.
Referenced by CreateFont(), SvxUnoFontDescriptor::FillFromItemSet(), operator<(), ImpEditEngine::SeekCursor(), EditCharAttribFont::SetFont(), legacy::SvxFont::Store(), and ImpEditEngine::WriteRTF().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 351 of file textitem.cxx.
References aFamilyName.
|
inline |
Definition at line 72 of file fontitem.hxx.
Referenced by SvxUnoFontDescriptor::FillFromItemSet(), SvxRTFParser::GetFont(), operator<(), and legacy::SvxFont::Store().
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 316 of file textitem.cxx.
References GetCharSet(), GetFamily(), GetFamilyName(), GetPitch(), and GetStyleName().
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 295 of file textitem.cxx.
References aFamilyName, aStyleName, eFamily, ePitch, eTextEncoding, and SAL_INFO.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 232 of file textitem.cxx.
References aFamilyName, aStr, aStyleName, eFamily, ePitch, eTextEncoding, MID_FONT_CHAR_SET, MID_FONT_FAMILY, MID_FONT_FAMILY_NAME, MID_FONT_PITCH, and MID_FONT_STYLE_NAME.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 203 of file textitem.cxx.
References aFamilyName, aStyleName, eFamily, ePitch, eTextEncoding, MID_FONT_CHAR_SET, MID_FONT_FAMILY, MID_FONT_FAMILY_NAME, MID_FONT_PITCH, and MID_FONT_STYLE_NAME.
|
inline |
Definition at line 95 of file fontitem.hxx.
Referenced by legacy::SvxFont::Create(), SvxUnoFontDescriptor::FillItemSet(), GetDefaultFonts(), ImpEditEngine::SetLanguageAndFont(), and TextConvWrapper::SetLanguageAndFont().
|
inline |
Definition at line 77 of file fontitem.hxx.
Referenced by legacy::SvxFont::Create(), SvxUnoFontDescriptor::FillItemSet(), GetDefaultFonts(), ImpEditEngine::SetLanguageAndFont(), and TextConvWrapper::SetLanguageAndFont().
|
inline |
Definition at line 59 of file fontitem.hxx.
Referenced by legacy::SvxFont::Create(), SvxUnoFontDescriptor::FillItemSet(), GetDefaultFonts(), ImpEditEngine::SetLanguageAndFont(), and TextConvWrapper::SetLanguageAndFont().
|
inline |
Definition at line 86 of file fontitem.hxx.
Referenced by legacy::SvxFont::Create(), SvxUnoFontDescriptor::FillItemSet(), GetDefaultFonts(), ImpEditEngine::SetLanguageAndFont(), and TextConvWrapper::SetLanguageAndFont().
|
inline |
Definition at line 68 of file fontitem.hxx.
Referenced by legacy::SvxFont::Create(), SvxUnoFontDescriptor::FillItemSet(), GetDefaultFonts(), ImpEditEngine::SetLanguageAndFont(), and TextConvWrapper::SetLanguageAndFont().
|
private |
Definition at line 31 of file fontitem.hxx.
Referenced by dumpAsXml(), GetPresentation(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 32 of file fontitem.hxx.
Referenced by dumpAsXml(), operator==(), PutValue(), and QueryValue().
|
private |
Definition at line 33 of file fontitem.hxx.
Referenced by dumpAsXml(), operator==(), PutValue(), QueryValue(), and SvxFontItem().
|
private |
Definition at line 34 of file fontitem.hxx.
Referenced by dumpAsXml(), operator==(), PutValue(), QueryValue(), and SvxFontItem().
|
private |
Definition at line 35 of file fontitem.hxx.
Referenced by dumpAsXml(), operator==(), PutValue(), QueryValue(), and SvxFontItem().